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.857/0.857, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 185.6 kB / 187.3 MB, free: 11.87 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.329/1.329, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0008111/0.0008109, allocations: 98.19 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 272.4 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.124e-05, allocations: 7.938 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3689, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4824, allocations: 116.9 MB / 0.8784 GB, free: 7.602 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.4826, allocations: 79.83 kB / 0.8785 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05352/0.5362, allocations: 19.82 MB / 0.8979 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5362, allocations: 0 / 0.8979 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.683e-05/0.5363, allocations: 28.12 kB / 0.8979 GB, free: 3.656 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.001751/0.5381, allocations: 1.078 MB / 0.899 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5381, allocations: 8.031 kB / 0.899 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.5383, allocations: 130.4 kB / 0.8991 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5396, allocations: 0.7191 MB / 0.8998 GB, free: 1.629 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.5397, allocations: 83.7 kB / 0.8999 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.5398, allocations: 79.86 kB / 0.8999 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.541, allocations: 0.7199 MB / 0.9007 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.541, allocations: 0 / 0.9007 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5411, allocations: 28 kB / 0.9007 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.5411, allocations: 19.95 kB / 0.9007 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.5419, allocations: 485.2 kB / 0.9012 GB, free: 180 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.5453, allocations: 2.357 MB / 0.9035 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.5464, allocations: 0.5936 MB / 0.904 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.5468, allocations: 222.5 kB / 0.9043 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.5468, allocations: 4.562 kB / 0.9043 GB, free: 12.92 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005049/0.5473, allocations: 303.2 kB / 0.9045 GB, free: 12.61 MB / 0.573 GB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/0.5474, allocations: 0 / 0.9045 GB, free: 12.61 MB / 0.573 GB Notification: Performance of matching and sorting (n=60): time 0.0009011/0.5483, allocations: 0.5256 MB / 0.9051 GB, free: 12.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.5483, allocations: 141.1 kB / 0.9052 GB, free: 11.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/0.5491, allocations: 0.6495 MB / 0.9058 GB, free: 11.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.954e-05/0.5492, allocations: 37.7 kB / 0.9059 GB, free: 11.2 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5495, allocations: 444.5 kB / 0.9063 GB, free: 10.76 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.5497, allocations: 201 kB / 0.9065 GB, free: 10.56 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.5497, allocations: 8 kB / 0.9065 GB, free: 10.55 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5499, allocations: 334 kB / 0.9068 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.5502, allocations: 177.6 kB / 0.907 GB, free: 10.05 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003977/0.5506, allocations: 307.4 kB / 0.9073 GB, free: 9.707 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.551, allocations: 203.2 kB / 0.9075 GB, free: 9.508 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.551, allocations: 4 kB / 0.9075 GB, free: 9.504 MB / 0.573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009582/0.5519, allocations: 0.6032 MB / 0.9081 GB, free: 8.895 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.5523, allocations: 0.8754 MB / 0.9089 GB, free: 7.953 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5523, allocations: 4 kB / 0.9089 GB, free: 7.949 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5523, allocations: 8 kB / 0.9089 GB, free: 7.941 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/0.5532, allocations: 163.8 kB / 0.9091 GB, free: 7.781 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.5532, allocations: 8 kB / 0.9091 GB, free: 7.773 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.5537, allocations: 87.3 kB / 0.9092 GB, free: 7.688 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.5538, allocations: 31.92 kB / 0.9092 GB, free: 7.656 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5538, allocations: 4 kB / 0.9092 GB, free: 7.652 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000816/0.5546, allocations: 0.4934 MB / 0.9097 GB, free: 7.156 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.5547, allocations: 0 / 0.9097 GB, free: 7.156 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5547, allocations: 8.25 kB / 0.9097 GB, free: 7.148 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/0.5555, allocations: 155.8 kB / 0.9098 GB, free: 6.996 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5555, allocations: 7.938 kB / 0.9098 GB, free: 6.988 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.556, allocations: 79.34 kB / 0.9099 GB, free: 6.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.556, allocations: 24 kB / 0.9099 GB, free: 6.887 MB / 0.573 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 () * 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.0001643/0.5562, allocations: 146.7 kB / 0.9101 GB, free: 6.738 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5563, allocations: 102.8 kB / 0.9102 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.5566, allocations: 101.2 kB / 0.9103 GB, free: 6.539 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5566, allocations: 4 kB / 0.9103 GB, free: 6.535 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5566, allocations: 0 / 0.9103 GB, free: 6.535 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5566, allocations: 3.984 kB / 0.9103 GB, free: 6.531 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5587, allocations: 1.443 MB / 0.9117 GB, free: 5.035 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5587, allocations: 0 / 0.9117 GB, free: 5.035 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.5593, allocations: 115.8 kB / 0.9118 GB, free: 4.922 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.5593, allocations: 3.984 kB / 0.9118 GB, free: 4.918 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.5594, allocations: 12 kB / 0.9118 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5594, allocations: 6.734 kB / 0.9118 GB, free: 4.902 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5594, allocations: 4 kB / 0.9118 GB, free: 4.898 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.5607, allocations: 0.9123 MB / 0.9127 GB, free: 3.969 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.5611, allocations: 235.7 kB / 0.913 GB, free: 3.719 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.5612, allocations: 15.94 kB / 0.913 GB, free: 3.703 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.5617, allocations: 51.95 kB / 0.913 GB, free: 3.652 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.5618, allocations: 32.52 kB / 0.913 GB, free: 3.621 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.5619, allocations: 19.98 kB / 0.9131 GB, free: 3.602 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006164/0.5625, allocations: 0.507 MB / 0.9136 GB, free: 3.098 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5625, allocations: 0 / 0.9136 GB, free: 3.098 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007398/0.5632, allocations: 291.1 kB / 0.9138 GB, free: 2.812 MB / 0.573 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 () * 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.0001626/0.5634, allocations: 125.1 kB / 0.914 GB, free: 2.684 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.5647, allocations: 0.7817 MB / 0.9147 GB, free: 1.902 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5647, allocations: 4 kB / 0.9147 GB, free: 1.898 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.5651, allocations: 248.2 kB / 0.915 GB, free: 1.652 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.5662, allocations: 227.5 kB / 0.9152 GB, free: 1.43 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5684, allocations: 1.177 MB / 0.9163 GB, free: 232 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2909/0.8593, allocations: 1.01 MB / 0.9173 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001096/0.8604, allocations: 175.8 kB / 0.9175 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.8606, allocations: 47.94 kB / 0.9175 GB, free: 135.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.12e-07/0.8606, allocations: 0.75 kB / 0.9175 GB, free: 135.6 MB / 0.573 GB Notification: Performance of Templates: time 0.0217/0.8823, allocations: 10.75 MB / 0.928 GB, free: 135.2 MB / 0.573 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)