Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.8 kB / 17.07 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 190.8 kB / 20.03 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.116/1.116, allocations: 147.6 MB / 445.5 MB, free: 8.516 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 64.94 kB / 0.6113 GB, free: 37.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1429, allocations: 83.17 MB / 0.6926 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001869/0.1449, allocations: 0.7044 MB / 0.6932 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1466, allocations: 1.182 MB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.1467, allocations: 1.25 kB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.1467, allocations: 3.938 kB / 0.6944 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.1468, allocations: 16.83 kB / 0.6944 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.1475, allocations: 135.5 kB / 0.6946 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1477, allocations: 121 kB / 0.6947 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1478, allocations: 18.48 kB / 0.6947 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.148, allocations: 48.98 kB / 0.6947 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1481, allocations: 47.91 kB / 0.6948 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.1482, allocations: 14.03 kB / 0.6948 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.1483, allocations: 24.41 kB / 0.6948 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.711e-05/0.1483, allocations: 14.25 kB / 0.6948 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1484, allocations: 44.59 kB / 0.6949 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1487, allocations: 108.9 kB / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1487, allocations: 0 / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1487, allocations: 4 kB / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1487, allocations: 1.062 kB / 0.695 GB, free: 11.36 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007642/0.1495, allocations: 400.1 kB / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.1495, allocations: 9.875 kB / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1496, allocations: 10.17 kB / 0.6954 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1498, allocations: 175.5 kB / 0.6955 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1498, allocations: 11.27 kB / 0.6956 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1498, allocations: 10.05 kB / 0.6956 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1501, allocations: 73.38 kB / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1501, allocations: 192 / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1501, allocations: 3.938 kB / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1501, allocations: 1.812 kB / 0.6956 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.1503, allocations: 43.2 kB / 0.6957 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.1509, allocations: 321 kB / 0.696 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.1511, allocations: 50.61 kB / 0.696 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1512, allocations: 29.41 kB / 0.6961 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1513, allocations: 5.359 kB / 0.6961 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.1515, allocations: 90.97 kB / 0.6962 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1515, allocations: 0 / 0.6962 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.152, allocations: 136.9 kB / 0.6963 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.152, allocations: 56.78 kB / 0.6963 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1521, allocations: 113.9 kB / 0.6965 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1522, allocations: 31.52 kB / 0.6965 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.1522, allocations: 96.62 kB / 0.6966 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.1523, allocations: 14.59 kB / 0.6966 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.1523, allocations: 35.73 kB / 0.6966 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1525, allocations: 328.1 kB / 0.6969 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1527, allocations: 49.94 kB / 0.697 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1528, allocations: 73.64 kB / 0.6971 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.1531, allocations: 131.7 kB / 0.6972 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1532, allocations: 1.375 kB / 0.6972 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004328/0.1536, allocations: 197.5 kB / 0.6974 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.1536, allocations: 42 kB / 0.6974 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1537, allocations: 1.375 kB / 0.6974 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1537, allocations: 1.375 kB / 0.6974 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.1538, allocations: 16.23 kB / 0.6974 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1538, allocations: 1.375 kB / 0.6974 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.154, allocations: 39.16 kB / 0.6975 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.154, allocations: 6.875 kB / 0.6975 GB, free: 9.031 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1542, allocations: 129.6 kB / 0.6976 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.1542, allocations: 2.75 kB / 0.6976 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.1545, allocations: 119.4 kB / 0.6977 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1545, allocations: 0 / 0.6977 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1545, allocations: 1.375 kB / 0.6977 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1545, allocations: 0 / 0.6977 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.155, allocations: 370.7 kB / 0.6981 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.155, allocations: 0 / 0.6981 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1551, allocations: 10.86 kB / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1551, allocations: 0 / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.1551, allocations: 1.375 kB / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1551, allocations: 0 / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1551, allocations: 1.375 kB / 0.6981 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.1555, allocations: 210.2 kB / 0.6983 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1555, allocations: 86.42 kB / 0.6984 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1556, allocations: 1.375 kB / 0.6984 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.1556, allocations: 8.109 kB / 0.6984 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.1557, allocations: 18.52 kB / 0.6984 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1557, allocations: 2.688 kB / 0.6984 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.1558, allocations: 94.7 kB / 0.6985 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.307e-06/0.1558, allocations: 0 / 0.6985 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002547/0.156, allocations: 27.41 kB / 0.6985 GB, free: 8.059 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.1562, allocations: 97.5 kB / 0.6986 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1566, allocations: 171.2 kB / 0.6988 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1566, allocations: 0 / 0.6988 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1567, allocations: 33.72 kB / 0.6988 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.157, allocations: 18.05 kB / 0.6988 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.1574, allocations: 162.4 kB / 0.699 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1577, allocations: 0.6841 MB / 0.6996 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.413e-05/0.1578, allocations: 6.828 kB / 0.6996 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.1578, allocations: 11.12 kB / 0.6997 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1578, allocations: 4 kB / 0.6997 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of Templates: time 0.004262/0.1621, allocations: 1.394 MB / 0.701 GB, free: 5.605 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.739777470938861] Failed to read output from testmodel.py, exit status != 0: 0.4539409000426531 0.18266078300000002 0.031222660000000003 Calling exit ...