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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008067/0.0008067, allocations: 93.09 kB / 15.7 MB, free: 472 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.0008818/0.0008819, allocations: 176.8 kB / 16.58 MB, free: 5.684 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.281/1.281, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6761/0.6761, allocations: 113.7 MB / 405.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 12.22 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004167/0.1453, allocations: 3.653 MB / 0.5604 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.1484, allocations: 1.496 MB / 0.5619 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008349/0.1493, allocations: 39.81 kB / 0.5619 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.1498, allocations: 110.9 kB / 0.5621 GB, free: 6.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.1507, allocations: 170.8 kB / 0.5622 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.152, allocations: 0.5183 MB / 0.5627 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001389/0.1534, allocations: 1.046 MB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006545/0.1541, allocations: 355.4 kB / 0.5641 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005521/0.1547, allocations: 338 kB / 0.5644 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.1552, allocations: 333.8 kB / 0.5647 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1553, allocations: 24 kB / 0.5647 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1554, allocations: 32 kB / 0.5648 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1556, allocations: 135.2 kB / 0.5649 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.1557, allocations: 173.1 kB / 0.5651 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.1564, allocations: 0.8107 MB / 0.5659 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1564, allocations: 0 / 0.5659 GB, free: 2.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1565, allocations: 0 / 0.5659 GB, free: 2.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.1565, allocations: 0 / 0.5659 GB, free: 2.418 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.002191/0.1587, allocations: 1.251 MB / 0.5671 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1587, allocations: 12.03 kB / 0.5671 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.1589, allocations: 114.5 kB / 0.5672 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.1592, allocations: 122.6 kB / 0.5673 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1604, allocations: 0.6957 MB / 0.568 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.1605, allocations: 83.64 kB / 0.5681 GB, free: 36 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1606, allocations: 68.05 kB / 0.5681 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.1619, allocations: 0.7366 MB / 0.5689 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1619, allocations: 4 kB / 0.5689 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.162, allocations: 28 kB / 0.5689 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.162, allocations: 16 kB / 0.5689 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.163, allocations: 0.5282 MB / 0.5694 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.1662, allocations: 2.294 MB / 0.5717 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.1675, allocations: 0.6349 MB / 0.5723 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.168, allocations: 278.8 kB / 0.5726 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.1681, allocations: 12.67 kB / 0.5726 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006274/0.1687, allocations: 331 kB / 0.5729 GB, free: 10.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.773e-06/0.1687, allocations: 0 / 0.5729 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001469/0.1702, allocations: 0.7715 MB / 0.5736 GB, free: 10.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.1702, allocations: 85.67 kB / 0.5737 GB, free: 10.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.1711, allocations: 0.7439 MB / 0.5744 GB, free: 9.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.1712, allocations: 41.7 kB / 0.5745 GB, free: 9.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.1715, allocations: 436.5 kB / 0.5749 GB, free: 8.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.1717, allocations: 205 kB / 0.5751 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1717, allocations: 12 kB / 0.5751 GB, free: 8.672 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1718, allocations: 330 kB / 0.5754 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.1723, allocations: 201.2 kB / 0.5756 GB, free: 8.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004882/0.1728, allocations: 312.4 kB / 0.5759 GB, free: 7.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.1732, allocations: 234.1 kB / 0.5761 GB, free: 7.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1733, allocations: 4 kB / 0.5761 GB, free: 7.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001138/0.1744, allocations: 0.6617 MB / 0.5768 GB, free: 6.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1745, allocations: 155.2 kB / 0.5769 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1745, allocations: 7.938 kB / 0.5769 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1746, allocations: 8 kB / 0.5769 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.1752, allocations: 143.8 kB / 0.5771 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.1752, allocations: 11.92 kB / 0.5771 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.1756, allocations: 75.36 kB / 0.5772 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.1756, allocations: 27.98 kB / 0.5772 GB, free: 6.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.1756, allocations: 6.344 kB / 0.5772 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009399/0.1766, allocations: 0.5207 MB / 0.5777 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1766, allocations: 0 / 0.5777 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.1766, allocations: 8 kB / 0.5777 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.1772, allocations: 139.8 kB / 0.5779 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1772, allocations: 7.953 kB / 0.5779 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.1775, allocations: 67.59 kB / 0.5779 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.1776, allocations: 28 kB / 0.5779 GB, free: 5.684 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.000313/0.1779, allocations: 292.9 kB / 0.5782 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.178, allocations: 94.86 kB / 0.5783 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.1782, allocations: 101.2 kB / 0.5784 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1782, allocations: 8 kB / 0.5784 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1782, allocations: 3.953 kB / 0.5784 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1783, allocations: 3.984 kB / 0.5784 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.1803, allocations: 1.45 MB / 0.5798 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1803, allocations: 0 / 0.5798 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/0.1808, allocations: 108 kB / 0.58 GB, free: 3.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.1808, allocations: 7.984 kB / 0.58 GB, free: 3.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.1809, allocations: 15.95 kB / 0.58 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1809, allocations: 7.938 kB / 0.58 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1809, allocations: 0 / 0.58 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.1824, allocations: 0.9747 MB / 0.5809 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.1827, allocations: 223.7 kB / 0.5811 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.1828, allocations: 15.98 kB / 0.5812 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.1832, allocations: 43.92 kB / 0.5812 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.1833, allocations: 36.52 kB / 0.5812 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.1833, allocations: 19.98 kB / 0.5813 GB, free: 2.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006106/0.1839, allocations: 0.5068 MB / 0.5818 GB, free: 1.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.693e-06/0.1839, allocations: 0 / 0.5818 GB, free: 1.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006901/0.1846, allocations: 279 kB / 0.582 GB, free: 1.406 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.2624/0.447, allocations: 1.538 MB / 0.5835 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001964/0.449, allocations: 0.8005 MB / 0.5843 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4491, allocations: 1.406 kB / 0.5843 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005345/0.4496, allocations: 275.2 kB / 0.5846 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.4508, allocations: 234 kB / 0.5848 GB, free: 31.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/0.4587, allocations: 5.102 MB / 0.5898 GB, free: 29.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.4592, allocations: 0.9909 MB / 0.5907 GB, free: 29.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005455/0.4598, allocations: 123.5 kB / 0.5909 GB, free: 29.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.4602, allocations: 350.2 kB / 0.5912 GB, free: 28.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4602, allocations: 0 / 0.5912 GB, free: 28.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.4928, allocations: 16.5 MB / 0.6073 GB, free: 24.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001304/0.493, allocations: 181 kB / 0.6075 GB, free: 23.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.432, allocations: 0 / 0.6075 GB, free: 23.89 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_LimPIDReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: