Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001802/0.001802, allocations: 113.7 kB / 17.75 MB, free: 5.176 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.002045/0.002045, allocations: 186.9 kB / 20.69 MB, free: 2.246 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.482/1.482, allocations: 222.9 MB / 246.4 MB, free: 4.215 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.109/1.109, allocations: 147.6 MB / 446.2 MB, free: 8.355 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.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001937, allocations: 65.36 kB / 0.6121 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.131, allocations: 83.16 MB / 0.6933 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003381/0.1344, allocations: 2.057 MB / 0.6953 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1369, allocations: 1.6 MB / 0.6969 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1372, allocations: 15.88 kB / 0.6969 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1374, allocations: 87.67 kB / 0.697 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1377, allocations: 85.19 kB / 0.6971 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.1385, allocations: 319.7 kB / 0.6974 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.1392, allocations: 0.6875 MB / 0.698 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005128/0.1397, allocations: 329.2 kB / 0.6984 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.14, allocations: 265.4 kB / 0.6986 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.1403, allocations: 281.5 kB / 0.6989 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.1404, allocations: 76.84 kB / 0.6989 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1406, allocations: 93.27 kB / 0.699 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.1407, allocations: 143.6 kB / 0.6992 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002704/0.141, allocations: 298.4 kB / 0.6995 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.1419, allocations: 0.8364 MB / 0.7003 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1419, allocations: 0 / 0.7003 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1419, allocations: 0 / 0.7003 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.1419, allocations: 0 / 0.7003 GB, free: 7.324 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001605/0.1435, allocations: 0.9144 MB / 0.7012 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1436, allocations: 8.031 kB / 0.7012 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.1437, allocations: 72.52 kB / 0.7012 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.1443, allocations: 420.8 kB / 0.7016 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.1444, allocations: 41.38 kB / 0.7017 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.1445, allocations: 60.38 kB / 0.7017 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008604/0.1454, allocations: 499.5 kB / 0.7022 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.1454, allocations: 192 / 0.7022 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.1454, allocations: 27.92 kB / 0.7022 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1455, allocations: 12 kB / 0.7023 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.1462, allocations: 347.8 kB / 0.7026 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.1486, allocations: 1.547 MB / 0.7041 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.1497, allocations: 0.8725 MB / 0.705 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.1501, allocations: 226.6 kB / 0.7052 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.1501, allocations: 11.94 kB / 0.7052 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.1506, allocations: 244.9 kB / 0.7054 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=47): time 2.214e-06/0.1506, allocations: 0 / 0.7054 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=47): time 0.00111/0.1517, allocations: 0.5261 MB / 0.7059 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.1518, allocations: 111.2 kB / 0.706 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.1523, allocations: 389.6 kB / 0.7064 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.1524, allocations: 37.7 kB / 0.7064 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.1526, allocations: 253.3 kB / 0.7067 GB, free: 420 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1527, allocations: 170.6 kB / 0.7068 GB, free: 248 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.1529, allocations: 98.19 kB / 0.7069 GB, free: 144 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1531, allocations: 358.7 kB / 0.7073 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.1535, allocations: 187 kB / 0.7075 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.154, allocations: 284.2 kB / 0.7077 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007904/0.1548, allocations: 436.1 kB / 0.7081 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1548, allocations: 0 / 0.7081 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001152/0.156, allocations: 0.5717 MB / 0.7087 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.1561, allocations: 45.62 kB / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1561, allocations: 0 / 0.7087 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1561, allocations: 4 kB / 0.7087 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.1565, allocations: 95.83 kB / 0.7088 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1565, allocations: 4 kB / 0.7088 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.157, allocations: 87.62 kB / 0.7089 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.157, allocations: 27.98 kB / 0.709 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004714/0.1575, allocations: 285.2 kB / 0.7092 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004065/0.1579, allocations: 256.3 kB / 0.7095 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006057/0.1585, allocations: 387.4 kB / 0.7098 GB, free: 13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1585, allocations: 8 kB / 0.7098 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009283/0.1595, allocations: 0.5208 MB / 0.7104 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.1595, allocations: 33.7 kB / 0.7104 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.1595, allocations: 3.938 kB / 0.7104 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.661e-06/0.1595, allocations: 7.938 kB / 0.7104 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.1599, allocations: 91.89 kB / 0.7105 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1599, allocations: 8.156 kB / 0.7105 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.1603, allocations: 75.69 kB / 0.7106 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.1603, allocations: 20 kB / 0.7106 GB, free: 12.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0001784/0.1605, allocations: 208.2 kB / 0.7108 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.581e-05/0.1606, allocations: 51.66 kB / 0.7108 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008571/0.1615, allocations: 437.3 kB / 0.7113 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1615, allocations: 4 kB / 0.7113 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1615, allocations: 0 / 0.7113 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1615, allocations: 3.984 kB / 0.7113 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1633, allocations: 1.135 MB / 0.7124 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1633, allocations: 0 / 0.7124 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.1636, allocations: 83.83 kB / 0.7124 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.1637, allocations: 8.188 kB / 0.7125 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.1637, allocations: 19.98 kB / 0.7125 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1637, allocations: 0 / 0.7125 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.1638, allocations: 7.938 kB / 0.7125 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.165, allocations: 0.7224 MB / 0.7132 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1651, allocations: 128.9 kB / 0.7133 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.1651, allocations: 19.97 kB / 0.7133 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.1654, allocations: 23.98 kB / 0.7134 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.1655, allocations: 39.83 kB / 0.7134 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.1655, allocations: 16 kB / 0.7134 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000317/0.1658, allocations: 271.2 kB / 0.7137 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1658, allocations: 0 / 0.7137 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006333/0.1665, allocations: 195.5 kB / 0.7139 GB, free: 8.723 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002079/0.1667, allocations: 135 kB / 0.714 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001421/0.1681, allocations: 0.7835 MB / 0.7147 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1681, allocations: 0.875 kB / 0.7147 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.1685, allocations: 203.7 kB / 0.7149 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.1691, allocations: 95.56 kB / 0.715 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1706, allocations: 0.9657 MB / 0.716 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.1711, allocations: 0.8473 MB / 0.7168 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1712, allocations: 43.42 kB / 0.7168 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1713, allocations: 0 / 0.7168 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of Templates: time 0.00927/0.1805, allocations: 5.965 MB / 0.7227 GB, free: 15.6 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.526605147169903] Failed to read output from testmodel.py, exit status != 0: 0.4254045160487294 0.200943497 0.056374074 Calling exit ...