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.0007892/0.0007892, allocations: 88.17 kB / 15.7 MB, free: 460 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.001146/0.001146, allocations: 177 kB / 16.58 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.389/1.389, allocations: 223.3 MB / 240.6 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7054/0.7054, allocations: 115.5 MB / 407.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 7.984 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004075/0.1458, allocations: 3.645 MB / 0.5629 GB, free: 5.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.1484, allocations: 1.504 MB / 0.5643 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.1488, allocations: 35.81 kB / 0.5644 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1491, allocations: 118.8 kB / 0.5645 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.1496, allocations: 173.9 kB / 0.5647 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1506, allocations: 0.5103 MB / 0.5652 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1517, allocations: 1.05 MB / 0.5662 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.1522, allocations: 355.4 kB / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.1526, allocations: 338 kB / 0.5668 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.1529, allocations: 329.8 kB / 0.5672 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.153, allocations: 27.98 kB / 0.5672 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.85e-05/0.1531, allocations: 28 kB / 0.5672 GB, free: 1.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1532, allocations: 135.2 kB / 0.5673 GB, free: 1.156 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1534, allocations: 173.1 kB / 0.5675 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006305/0.154, allocations: 0.8068 MB / 0.5683 GB, free: 176 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.154, allocations: 0 / 0.5683 GB, free: 176 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.154, allocations: 4 kB / 0.5683 GB, free: 172 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.154, allocations: 0 / 0.5683 GB, free: 172 kB / 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.001934/0.156, allocations: 1.251 MB / 0.5695 GB, free: 14.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.156, allocations: 8.031 kB / 0.5695 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1562, allocations: 118.6 kB / 0.5696 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.1573, allocations: 0.6957 MB / 0.5703 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.1574, allocations: 83.7 kB / 0.5704 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1575, allocations: 79.92 kB / 0.5705 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1587, allocations: 0.7405 MB / 0.5712 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1587, allocations: 0 / 0.5712 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.08e-05/0.1588, allocations: 32 kB / 0.5712 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1588, allocations: 16 kB / 0.5712 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.1599, allocations: 0.5243 MB / 0.5718 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.163, allocations: 2.294 MB / 0.574 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.1643, allocations: 0.6335 MB / 0.5746 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.1649, allocations: 279.9 kB / 0.5749 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1649, allocations: 8.562 kB / 0.5749 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007012/0.1656, allocations: 335.2 kB / 0.5752 GB, free: 8.859 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.1656, allocations: 0 / 0.5752 GB, free: 8.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001505/0.1671, allocations: 0.7637 MB / 0.576 GB, free: 8.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1672, allocations: 89.61 kB / 0.576 GB, free: 7.988 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.168, allocations: 0.7439 MB / 0.5768 GB, free: 7.234 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.1681, allocations: 37.7 kB / 0.5768 GB, free: 7.191 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.1685, allocations: 440.5 kB / 0.5772 GB, free: 6.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.1686, allocations: 201 kB / 0.5774 GB, free: 6.559 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1687, allocations: 19.94 kB / 0.5774 GB, free: 6.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1688, allocations: 330 kB / 0.5777 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.1693, allocations: 205.2 kB / 0.5779 GB, free: 6.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1699, allocations: 304.4 kB / 0.5782 GB, free: 5.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.1704, allocations: 238.1 kB / 0.5785 GB, free: 5.449 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1704, allocations: 0 / 0.5785 GB, free: 5.449 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001218/0.1716, allocations: 0.6695 MB / 0.5791 GB, free: 4.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1717, allocations: 155.1 kB / 0.5793 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1717, allocations: 4 kB / 0.5793 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.1718, allocations: 4 kB / 0.5793 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.1724, allocations: 147.8 kB / 0.5794 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/0.1724, allocations: 11.94 kB / 0.5794 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.1729, allocations: 79.34 kB / 0.5795 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/0.1729, allocations: 23.98 kB / 0.5795 GB, free: 4.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.173, allocations: 4 kB / 0.5795 GB, free: 4.316 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009435/0.1739, allocations: 0.5207 MB / 0.58 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1739, allocations: 4 kB / 0.58 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.034e-06/0.1739, allocations: 4 kB / 0.58 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.1745, allocations: 148 kB / 0.5802 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1745, allocations: 11.92 kB / 0.5802 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.1749, allocations: 71.38 kB / 0.5803 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.1749, allocations: 20 kB / 0.5803 GB, free: 3.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.0004765/0.1754, allocations: 296.9 kB / 0.5806 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.1756, allocations: 90.88 kB / 0.5807 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.1758, allocations: 105.2 kB / 0.5808 GB, free: 3.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1758, allocations: 8 kB / 0.5808 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.1758, allocations: 0 / 0.5808 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.1758, allocations: 7.938 kB / 0.5808 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1783, allocations: 1.45 MB / 0.5822 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1783, allocations: 0 / 0.5822 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.1788, allocations: 111.9 kB / 0.5823 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1788, allocations: 0 / 0.5823 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.1789, allocations: 12 kB / 0.5823 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.1789, allocations: 7.953 kB / 0.5823 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1789, allocations: 0 / 0.5823 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.1805, allocations: 0.9747 MB / 0.5833 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.1807, allocations: 223.7 kB / 0.5835 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-05/0.1808, allocations: 19.98 kB / 0.5835 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.1812, allocations: 43.91 kB / 0.5835 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.1813, allocations: 36.47 kB / 0.5836 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.1814, allocations: 19.98 kB / 0.5836 GB, free: 48 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.2661/0.4475, allocations: 0.5059 MB / 0.5841 GB, free: 30.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4475, allocations: 0.5625 kB / 0.5841 GB, free: 30.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001013/0.4486, allocations: 271.2 kB / 0.5843 GB, free: 30.09 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.0001321/0.4487, allocations: 111.2 kB / 0.5844 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.4503, allocations: 0.803 MB / 0.5852 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4503, allocations: 0.8125 kB / 0.5852 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.4508, allocations: 279.3 kB / 0.5855 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.4519, allocations: 231.5 kB / 0.5857 GB, free: 29.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.4546, allocations: 1.827 MB / 0.5875 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.4551, allocations: 0.9938 MB / 0.5885 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005429/0.4556, allocations: 112.9 kB / 0.5886 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4558, allocations: 59.42 kB / 0.5886 GB, free: 28.37 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4558, allocations: 0 / 0.5886 GB, free: 28.37 MB / 446.1 MB Notification: Performance of Templates: time 0.01973/0.4756, allocations: 8.398 MB / 0.5968 GB, free: 27.7 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)