Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7332/0.7332, allocations: 128.7 MB / 144.5 MB, free: 1.41 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 184 kB / 174.2 MB, free: 5.953 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 93.72 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 50.45 kB / 0.558 GB, free: 97.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1315, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004253/0.1358, allocations: 4.358 MB / 0.6359 GB, free: 28.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.1388, allocations: 1.641 MB / 0.6375 GB, free: 27.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.1396, allocations: 39.81 kB / 0.6376 GB, free: 26.97 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.14, allocations: 126.8 kB / 0.6377 GB, free: 26.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006217/0.1407, allocations: 182.7 kB / 0.6379 GB, free: 26.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1418, allocations: 0.6688 MB / 0.6385 GB, free: 26 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008741/0.1427, allocations: 1.183 MB / 0.6397 GB, free: 24.82 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005762/0.1433, allocations: 0.4885 MB / 0.6401 GB, free: 24.31 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.1437, allocations: 417.7 kB / 0.6405 GB, free: 23.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.144, allocations: 429.4 kB / 0.641 GB, free: 23.48 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.1442, allocations: 48 kB / 0.641 GB, free: 23.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.1442, allocations: 52 kB / 0.641 GB, free: 23.38 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1444, allocations: 187 kB / 0.6412 GB, free: 23.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.1446, allocations: 448.9 kB / 0.6417 GB, free: 22.75 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000602/0.1452, allocations: 1.106 MB / 0.6427 GB, free: 21.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1452, allocations: 0 / 0.6427 GB, free: 21.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1452, allocations: 0 / 0.6427 GB, free: 21.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1452, allocations: 0 / 0.6427 GB, free: 21.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00201/0.1473, allocations: 1.414 MB / 0.6441 GB, free: 20.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1473, allocations: 8.031 kB / 0.6441 GB, free: 20.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.1474, allocations: 127.4 kB / 0.6442 GB, free: 20.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/0.1484, allocations: 0.7547 MB / 0.645 GB, free: 19.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.1485, allocations: 80.27 kB / 0.6451 GB, free: 19.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.1486, allocations: 68.38 kB / 0.6451 GB, free: 19.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1496, allocations: 0.7602 MB / 0.6459 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1497, allocations: 0 / 0.6459 GB, free: 18.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.1497, allocations: 28 kB / 0.6459 GB, free: 18.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1497, allocations: 16 kB / 0.6459 GB, free: 18.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.1507, allocations: 0.5243 MB / 0.6464 GB, free: 17.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.1535, allocations: 2.305 MB / 0.6487 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.1547, allocations: 0.6313 MB / 0.6493 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/0.1551, allocations: 278.4 kB / 0.6496 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.1552, allocations: 12.55 kB / 0.6496 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.1558, allocations: 323 kB / 0.6499 GB, free: 14.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=60): time 3.426e-06/0.1558, allocations: 4 kB / 0.6499 GB, free: 14.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.001415/0.1572, allocations: 0.7515 MB / 0.6506 GB, free: 13.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.1573, allocations: 85.67 kB / 0.6507 GB, free: 13.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.158, allocations: 0.7718 MB / 0.6514 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.158, allocations: 37.7 kB / 0.6515 GB, free: 12.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.1583, allocations: 452.4 kB / 0.6519 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1584, allocations: 209 kB / 0.6521 GB, free: 11.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1585, allocations: 106.3 kB / 0.6522 GB, free: 11.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.1586, allocations: 330 kB / 0.6525 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.159, allocations: 215.4 kB / 0.6527 GB, free: 11.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.1594, allocations: 304.5 kB / 0.653 GB, free: 10.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.1602, allocations: 0.5192 MB / 0.6535 GB, free: 10.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1602, allocations: 3.938 kB / 0.6535 GB, free: 10.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001061/0.1613, allocations: 0.6617 MB / 0.6542 GB, free: 9.535 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1613, allocations: 7.984 kB / 0.6542 GB, free: 9.527 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1613, allocations: 4 kB / 0.6542 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1614, allocations: 12.12 kB / 0.6542 GB, free: 9.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005883/0.162, allocations: 147.8 kB / 0.6543 GB, free: 9.367 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.162, allocations: 4 kB / 0.6544 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1624, allocations: 71.41 kB / 0.6544 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.1624, allocations: 20 kB / 0.6544 GB, free: 9.273 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004133/0.1628, allocations: 345.4 kB / 0.6548 GB, free: 8.934 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000279/0.1631, allocations: 276.4 kB / 0.655 GB, free: 8.629 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005208/0.1637, allocations: 475.7 kB / 0.6555 GB, free: 8.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.1637, allocations: 0 / 0.6555 GB, free: 8.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.000714/0.1644, allocations: 0.5993 MB / 0.6561 GB, free: 7.527 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.1644, allocations: 4 kB / 0.6561 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1644, allocations: 4 kB / 0.6561 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.1644, allocations: 7.984 kB / 0.6561 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.1649, allocations: 131.8 kB / 0.6562 GB, free: 7.383 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.165, allocations: 15.86 kB / 0.6562 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1653, allocations: 55.77 kB / 0.6563 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.1653, allocations: 24 kB / 0.6563 GB, free: 7.289 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001432/0.1655, allocations: 212.1 kB / 0.6565 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.1656, allocations: 94.78 kB / 0.6566 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.1658, allocations: 105.4 kB / 0.6567 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1658, allocations: 11.88 kB / 0.6567 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1658, allocations: 0 / 0.6567 GB, free: 6.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1658, allocations: 7.984 kB / 0.6567 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.1676, allocations: 1.45 MB / 0.6581 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1676, allocations: 0 / 0.6581 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.1681, allocations: 103.9 kB / 0.6582 GB, free: 5.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1681, allocations: 4 kB / 0.6582 GB, free: 5.246 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.1682, allocations: 12 kB / 0.6582 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1682, allocations: 4 kB / 0.6582 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1682, allocations: 0 / 0.6582 GB, free: 5.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008345/0.1766, allocations: 5.367 MB / 0.6635 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.1769, allocations: 227.7 kB / 0.6637 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-05/0.177, allocations: 8 kB / 0.6637 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.1775, allocations: 31.97 kB / 0.6637 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1776, allocations: 32.52 kB / 0.6638 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.1777, allocations: 27.98 kB / 0.6638 GB, free: 15.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006548/0.1783, allocations: 0.5267 MB / 0.6643 GB, free: 14.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1783, allocations: 0 / 0.6643 GB, free: 14.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001147/0.1795, allocations: 391 kB / 0.6647 GB, free: 14.45 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.0001593/0.1797, allocations: 115.1 kB / 0.6648 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1813, allocations: 0.7798 MB / 0.6656 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1814, allocations: 0 / 0.6656 GB, free: 13.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.1819, allocations: 276.1 kB / 0.6658 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.1832, allocations: 263.4 kB / 0.6661 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1865, allocations: 2.28 MB / 0.6683 GB, free: 10.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006958/0.1873, allocations: 1.014 MB / 0.6693 GB, free: 9.66 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006307/0.1879, allocations: 126.8 kB / 0.6694 GB, free: 9.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.1882, allocations: 71.36 kB / 0.6695 GB, free: 9.461 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1882, allocations: 4 kB / 0.6695 GB, free: 9.457 MB / 458.7 MB Notification: Performance of Templates: time 0.02024/0.2084, allocations: 10.71 MB / 0.6799 GB, free: 14.85 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)