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.0009949/0.0009946, allocations: 92.95 kB / 16.02 MB, free: 84 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.001495/0.001495, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7093/0.7093, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003094, allocations: 9.656 kB / 495.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1341, allocations: 77.54 MB / 0.56 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.004118/0.1382, allocations: 3.879 MB / 0.5637 GB, free: 5.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1409, allocations: 1.527 MB / 0.5652 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004439/0.1414, allocations: 35.81 kB / 0.5653 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1417, allocations: 122.8 kB / 0.5654 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.1423, allocations: 178.8 kB / 0.5656 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1434, allocations: 0.6133 MB / 0.5662 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1445, allocations: 1.148 MB / 0.5673 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.1452, allocations: 476.2 kB / 0.5677 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.1457, allocations: 349.8 kB / 0.5681 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.146, allocations: 353.6 kB / 0.5684 GB, free: 372 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.1461, allocations: 24 kB / 0.5684 GB, free: 348 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.1462, allocations: 28 kB / 0.5685 GB, free: 320 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1463, allocations: 147 kB / 0.5686 GB, free: 172 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.1466, allocations: 406.8 kB / 0.569 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.1474, allocations: 1.023 MB / 0.57 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1474, allocations: 0 / 0.57 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1474, allocations: 0 / 0.57 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1474, allocations: 0 / 0.57 GB, free: 14.73 MB / 446.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.00207/0.1495, allocations: 1.236 MB / 0.5712 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1496, allocations: 11.97 kB / 0.5712 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1497, allocations: 119.5 kB / 0.5713 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.1508, allocations: 0.7314 MB / 0.572 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.1509, allocations: 80.27 kB / 0.5721 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.151, allocations: 76.36 kB / 0.5722 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.1523, allocations: 0.7446 MB / 0.5729 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1523, allocations: 3.938 kB / 0.5729 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.1524, allocations: 28 kB / 0.5729 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1524, allocations: 20 kB / 0.573 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.1536, allocations: 0.5282 MB / 0.5735 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.1569, allocations: 2.302 MB / 0.5757 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.1583, allocations: 0.6425 MB / 0.5763 GB, free: 8.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.1588, allocations: 274.4 kB / 0.5766 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.1589, allocations: 8.562 kB / 0.5766 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006831/0.1596, allocations: 331 kB / 0.5769 GB, free: 7.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/0.1596, allocations: 0 / 0.5769 GB, free: 7.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001638/0.1612, allocations: 0.7751 MB / 0.5777 GB, free: 6.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1613, allocations: 85.67 kB / 0.5778 GB, free: 6.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008486/0.1621, allocations: 0.7556 MB / 0.5785 GB, free: 5.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.1622, allocations: 37.7 kB / 0.5785 GB, free: 5.707 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.1625, allocations: 436.5 kB / 0.579 GB, free: 5.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.1627, allocations: 205 kB / 0.5792 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1628, allocations: 61.62 kB / 0.5792 GB, free: 5.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1629, allocations: 334 kB / 0.5795 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004656/0.1634, allocations: 213.2 kB / 0.5797 GB, free: 4.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.1639, allocations: 304.5 kB / 0.58 GB, free: 4.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.1649, allocations: 0.5153 MB / 0.5805 GB, free: 3.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1649, allocations: 4 kB / 0.5805 GB, free: 3.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001235/0.1661, allocations: 0.6656 MB / 0.5812 GB, free: 2.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-05/0.1663, allocations: 159.2 kB / 0.5813 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.1663, allocations: 7.938 kB / 0.5813 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1663, allocations: 4.047 kB / 0.5813 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.1669, allocations: 151.8 kB / 0.5815 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.167, allocations: 8 kB / 0.5815 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.1674, allocations: 79.28 kB / 0.5816 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.1674, allocations: 24 kB / 0.5816 GB, free: 2.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.363e-06/0.1675, allocations: 5.719 kB / 0.5816 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.1685, allocations: 0.5285 MB / 0.5821 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1685, allocations: 4 kB / 0.5821 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/0.1685, allocations: 4 kB / 0.5821 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.1691, allocations: 143.8 kB / 0.5823 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.1691, allocations: 4 kB / 0.5823 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.1695, allocations: 71.59 kB / 0.5823 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1696, allocations: 20 kB / 0.5824 GB, free: 1.68 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,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.0003142/0.1699, allocations: 296.9 kB / 0.5826 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.17, allocations: 90.88 kB / 0.5827 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1702, allocations: 105.2 kB / 0.5828 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1702, allocations: 4 kB / 0.5828 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1702, allocations: 4 kB / 0.5828 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1702, allocations: 3.984 kB / 0.5828 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2533/0.4236, allocations: 1.453 MB / 0.5843 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.4236, allocations: 3.281 kB / 0.5843 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006593/0.4243, allocations: 107.5 kB / 0.5844 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.4243, allocations: 1.969 kB / 0.5844 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.4244, allocations: 18.27 kB / 0.5844 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.4244, allocations: 4.188 kB / 0.5844 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4244, allocations: 1.953 kB / 0.5844 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.4265, allocations: 0.9792 MB / 0.5853 GB, free: 30.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.4269, allocations: 228.9 kB / 0.5856 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.4271, allocations: 10.75 kB / 0.5856 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.4276, allocations: 42.2 kB / 0.5856 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4277, allocations: 35.09 kB / 0.5856 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.4278, allocations: 18.03 kB / 0.5857 GB, free: 29.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008266/0.4286, allocations: 0.5155 MB / 0.5862 GB, free: 29.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4286, allocations: 0.9688 kB / 0.5862 GB, free: 29.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009095/0.4295, allocations: 277 kB / 0.5864 GB, free: 29.85 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 (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.0001465/0.4297, allocations: 120.9 kB / 0.5865 GB, free: 29.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4316, allocations: 0.8086 MB / 0.5873 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4316, allocations: 0.875 kB / 0.5873 GB, free: 29.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.4322, allocations: 274.1 kB / 0.5876 GB, free: 29.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.4335, allocations: 245.9 kB / 0.5878 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.4364, allocations: 1.931 MB / 0.5897 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.4369, allocations: 0.9957 MB / 0.5907 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.4375, allocations: 117.6 kB / 0.5908 GB, free: 27.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.4377, allocations: 59.58 kB / 0.5909 GB, free: 27.84 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4377, allocations: 0 / 0.5909 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Templates: time 0.02171/0.4594, allocations: 8.688 MB / 0.5993 GB, free: 26.8 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)