Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009804/0.0009805, allocations: 95.56 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 173.4 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7226/0.7226, allocations: 113.8 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 12 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1452, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.003849/0.1491, allocations: 3.649 MB / 0.5604 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002664/0.1518, allocations: 1.442 MB / 0.5618 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.1522, allocations: 31.81 kB / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.1524, allocations: 63.19 kB / 0.5619 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006405/0.153, allocations: 251.1 kB / 0.5621 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1542, allocations: 0.513 MB / 0.5626 GB, free: 5.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.1555, allocations: 0.7821 MB / 0.5634 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.156, allocations: 359.2 kB / 0.5637 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005478/0.1566, allocations: 366.2 kB / 0.5641 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.157, allocations: 337.9 kB / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.1571, allocations: 24 kB / 0.5644 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.046e-05/0.1572, allocations: 28 kB / 0.5645 GB, free: 3.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1573, allocations: 131.3 kB / 0.5646 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1575, allocations: 177.1 kB / 0.5648 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007651/0.1582, allocations: 0.8068 MB / 0.5655 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1583, allocations: 0 / 0.5655 GB, free: 2.645 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1583, allocations: 0 / 0.5655 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.1583, allocations: 0 / 0.5655 GB, free: 2.645 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002218/0.1605, allocations: 1.251 MB / 0.5668 GB, free: 1.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1606, allocations: 16.02 kB / 0.5668 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.1607, allocations: 118.6 kB / 0.5669 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.1619, allocations: 0.6918 MB / 0.5676 GB, free: 488 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.162, allocations: 79.7 kB / 0.5676 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.485e-05/0.1621, allocations: 75.98 kB / 0.5677 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1634, allocations: 0.7366 MB / 0.5684 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1634, allocations: 0 / 0.5684 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.1635, allocations: 28 kB / 0.5685 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1635, allocations: 16 kB / 0.5685 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1646, allocations: 0.5243 MB / 0.569 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.1681, allocations: 2.29 MB / 0.5712 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.1697, allocations: 0.6625 MB / 0.5719 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.1697, allocations: 12.5 kB / 0.5719 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006984/0.1704, allocations: 323.2 kB / 0.5722 GB, free: 11.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.1704, allocations: 8 kB / 0.5722 GB, free: 11.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001571/0.172, allocations: 0.7599 MB / 0.5729 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1721, allocations: 81.67 kB / 0.573 GB, free: 10.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.1729, allocations: 0.7555 MB / 0.5738 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.173, allocations: 37.7 kB / 0.5738 GB, free: 9.934 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.1733, allocations: 436.5 kB / 0.5742 GB, free: 9.504 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.1735, allocations: 209 kB / 0.5744 GB, free: 9.297 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1735, allocations: 16 kB / 0.5744 GB, free: 9.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1736, allocations: 326 kB / 0.5747 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.1741, allocations: 201.2 kB / 0.5749 GB, free: 8.762 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.1746, allocations: 304.4 kB / 0.5752 GB, free: 8.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.1751, allocations: 242.1 kB / 0.5754 GB, free: 8.199 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1751, allocations: 0 / 0.5754 GB, free: 8.199 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00133/0.1764, allocations: 0.6618 MB / 0.5761 GB, free: 7.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.1768, allocations: 0.8772 MB / 0.577 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1768, allocations: 3.938 kB / 0.577 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1769, allocations: 8 kB / 0.577 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/0.1778, allocations: 147.8 kB / 0.5771 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.1778, allocations: 15.89 kB / 0.5771 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005792/0.1784, allocations: 79.34 kB / 0.5772 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.383e-05/0.1785, allocations: 24 kB / 0.5772 GB, free: 6.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1785, allocations: 4 kB / 0.5772 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/0.1798, allocations: 0.5207 MB / 0.5777 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1799, allocations: 0 / 0.5777 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1799, allocations: 8 kB / 0.5777 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.1807, allocations: 140 kB / 0.5779 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.1807, allocations: 15.92 kB / 0.5779 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.1814, allocations: 63.42 kB / 0.5779 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.1814, allocations: 20 kB / 0.578 GB, free: 5.543 MB / 446.1 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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005169/0.1819, allocations: 308.8 kB / 0.5783 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.1821, allocations: 90.88 kB / 0.5783 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1824, allocations: 105.2 kB / 0.5784 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.1824, allocations: 4 kB / 0.5785 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.1824, allocations: 0 / 0.5785 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.1824, allocations: 7.984 kB / 0.5785 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.1857, allocations: 1.45 MB / 0.5799 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1857, allocations: 0 / 0.5799 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/0.1865, allocations: 107.9 kB / 0.58 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.1865, allocations: 4 kB / 0.58 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.1865, allocations: 12 kB / 0.58 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.006e-06/0.1866, allocations: 3.984 kB / 0.58 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1866, allocations: 0 / 0.58 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.189, allocations: 0.9824 MB / 0.581 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.1895, allocations: 227.7 kB / 0.5812 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.1896, allocations: 12 kB / 0.5812 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.1902, allocations: 39.97 kB / 0.5812 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1904, allocations: 32.52 kB / 0.5813 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.1904, allocations: 19.98 kB / 0.5813 GB, free: 2.047 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000965/0.1914, allocations: 0.5146 MB / 0.5818 GB, free: 1.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1914, allocations: 0 / 0.5818 GB, free: 1.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.1925, allocations: 271.1 kB / 0.582 GB, free: 1.273 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.1927, allocations: 111.9 kB / 0.5821 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.1951, allocations: 0.8079 MB / 0.5829 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1951, allocations: 0 / 0.5829 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007319/0.1959, allocations: 271.1 kB / 0.5832 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2287/0.4245, allocations: 230.1 kB / 0.5834 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.4274, allocations: 1.823 MB / 0.5852 GB, free: 31.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.4279, allocations: 1.013 MB / 0.5862 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005182/0.4284, allocations: 116.5 kB / 0.5863 GB, free: 31.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4286, allocations: 57.88 kB / 0.5863 GB, free: 31.25 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4286, allocations: 0.9688 kB / 0.5863 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Templates: time 0.01842/0.447, allocations: 8.379 MB / 0.5945 GB, free: 30.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)