Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7914/0.7914, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 191.7 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 447.7 MB, free: 6.527 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008772/0.0008772, allocations: 96.2 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001634/0.001634, allocations: 273.8 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004467, allocations: 15.98 kB / 0.6929 GB, free: 2.328 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.362, allocations: 82.77 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5152, allocations: 117 MB / 0.888 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.5156, allocations: 79.84 kB / 0.888 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05308/0.5686, allocations: 19.87 MB / 0.9074 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5687, allocations: 0 / 0.9074 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.31e-05/0.5688, allocations: 28.12 kB / 0.9075 GB, free: 1.082 MB / 0.5573 GB 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.3576/0.9264, allocations: 1.23 MB / 0.9087 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.9265, allocations: 11.14 kB / 0.9087 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.9269, allocations: 122.3 kB / 0.9088 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.9286, allocations: 0.7315 MB / 0.9095 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.9287, allocations: 82.61 kB / 0.9096 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.9288, allocations: 73.03 kB / 0.9097 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.9304, allocations: 0.7762 MB / 0.9104 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.9304, allocations: 6.141 kB / 0.9104 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.9305, allocations: 25.78 kB / 0.9104 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.9305, allocations: 17.19 kB / 0.9105 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.9318, allocations: 0.5708 MB / 0.911 GB, free: 120 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.9357, allocations: 2.353 MB / 0.9133 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.9376, allocations: 0.6994 MB / 0.914 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.9376, allocations: 11.39 kB / 0.914 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008738/0.9385, allocations: 349.3 kB / 0.9143 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.617e-06/0.9385, allocations: 0 / 0.9143 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002078/0.9406, allocations: 0.8271 MB / 0.9151 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.9407, allocations: 141.1 kB / 0.9153 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.9417, allocations: 0.657 MB / 0.9159 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-05/0.9418, allocations: 40.55 kB / 0.916 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.9421, allocations: 436.2 kB / 0.9164 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.9423, allocations: 204.5 kB / 0.9166 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.9423, allocations: 13.84 kB / 0.9166 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.9424, allocations: 328 kB / 0.9169 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.9429, allocations: 227.6 kB / 0.9171 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.9435, allocations: 341.5 kB / 0.9174 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.9441, allocations: 256.3 kB / 0.9177 GB, free: 118 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9441, allocations: 0 / 0.9177 GB, free: 118 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001433/0.9455, allocations: 0.6957 MB / 0.9184 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002065/0.9458, allocations: 0.876 MB / 0.9192 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.9458, allocations: 4.719 kB / 0.9192 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.9458, allocations: 5.844 kB / 0.9192 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.9468, allocations: 166.1 kB / 0.9194 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.9469, allocations: 6.125 kB / 0.9194 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006384/0.9475, allocations: 87.98 kB / 0.9195 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.9476, allocations: 24.5 kB / 0.9195 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.9476, allocations: 4.812 kB / 0.9195 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001214/0.9488, allocations: 0.5561 MB / 0.9201 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.9488, allocations: 6.203 kB / 0.9201 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.9488, allocations: 6.172 kB / 0.9201 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.9497, allocations: 151.1 kB / 0.9202 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.9497, allocations: 10.55 kB / 0.9202 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.9503, allocations: 75.31 kB / 0.9203 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/0.9503, allocations: 24.97 kB / 0.9203 GB, free: 116.4 MB / 0.5573 GB 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,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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.0004695/0.9508, allocations: 298.5 kB / 0.9206 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.951, allocations: 99.2 kB / 0.9207 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.9512, allocations: 114.7 kB / 0.9208 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9512, allocations: 6.266 kB / 0.9208 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.9512, allocations: 0 / 0.9208 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9512, allocations: 3.234 kB / 0.9208 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/0.9539, allocations: 1.517 MB / 0.9223 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.9539, allocations: 3.953 kB / 0.9223 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.9545, allocations: 119.5 kB / 0.9224 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.9546, allocations: 2.5 kB / 0.9224 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.9546, allocations: 11.81 kB / 0.9224 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.9546, allocations: 2.188 kB / 0.9224 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.9546, allocations: 3.719 kB / 0.9224 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.9565, allocations: 1.042 MB / 0.9234 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.9568, allocations: 235.9 kB / 0.9237 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/0.957, allocations: 11.69 kB / 0.9237 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/0.9575, allocations: 52.55 kB / 0.9237 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.9577, allocations: 39.58 kB / 0.9238 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.9577, allocations: 19.59 kB / 0.9238 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008938/0.9586, allocations: 0.5108 MB / 0.9243 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9587, allocations: 4 kB / 0.9243 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001082/0.9597, allocations: 284.5 kB / 0.9246 GB, free: 114.3 MB / 0.5573 GB 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 (limPIDInp.trigger,$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.0002032/0.96, allocations: 119 kB / 0.9247 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.9617, allocations: 0.8693 MB / 0.9255 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9617, allocations: 0 / 0.9255 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004923/0.9622, allocations: 292.9 kB / 0.9258 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.9632, allocations: 226.5 kB / 0.926 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.9658, allocations: 1.827 MB / 0.9278 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.9662, allocations: 1.018 MB / 0.9288 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000606/0.9668, allocations: 116.7 kB / 0.9289 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.967, allocations: 64.45 kB / 0.929 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.967, allocations: 0 / 0.929 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01512/0.9821, allocations: 9.104 MB / 0.9379 GB, free: 110.9 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)