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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7479/0.7479, allocations: 140.1 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 174.3 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 426.3 MB, free: 8.414 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 93.53 kB / 0.4945 GB, free: 8.352 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001637/0.001637, allocations: 269.5 kB / 0.5728 GB, free: 66.24 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 16 kB / 0.662 GB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3596, allocations: 79.29 MB / 0.7394 GB, free: 46.39 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.5014, allocations: 115.7 MB / 0.8525 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5017, allocations: 79.95 kB / 0.8525 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05343/0.5552, allocations: 19.97 MB / 0.872 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5552, allocations: 0 / 0.872 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001482/0.5554, allocations: 31.98 kB / 0.8721 GB, free: 6.383 MB / 0.5417 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.002894/0.5583, allocations: 1.234 MB / 0.8733 GB, free: 5.094 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5583, allocations: 8.031 kB / 0.8733 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.5587, allocations: 127.5 kB / 0.8734 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.5604, allocations: 0.7705 MB / 0.8742 GB, free: 4.148 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5606, allocations: 84.2 kB / 0.8742 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.5608, allocations: 76.28 kB / 0.8743 GB, free: 3.984 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.5624, allocations: 0.7825 MB / 0.8751 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.5624, allocations: 4 kB / 0.8751 GB, free: 3.156 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.5625, allocations: 28 kB / 0.8751 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.5625, allocations: 16 kB / 0.8751 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.5638, allocations: 0.5672 MB / 0.8757 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5679, allocations: 2.361 MB / 0.878 GB, free: 112 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5694, allocations: 0.6765 MB / 0.8786 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.57, allocations: 266.5 kB / 0.8789 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.57, allocations: 12.55 kB / 0.8789 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.5708, allocations: 355 kB / 0.8792 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.436e-06/0.5708, allocations: 4 kB / 0.8792 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.001751/0.5726, allocations: 0.8141 MB / 0.88 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/0.5726, allocations: 141.1 kB / 0.8802 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009808/0.5736, allocations: 0.7597 MB / 0.8809 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.5737, allocations: 37.7 kB / 0.881 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5741, allocations: 448.5 kB / 0.8814 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.5742, allocations: 201 kB / 0.8816 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.5743, allocations: 12 kB / 0.8816 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5744, allocations: 330 kB / 0.8819 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/0.5749, allocations: 229.1 kB / 0.8821 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.5754, allocations: 346.2 kB / 0.8824 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.5765, allocations: 0.5426 MB / 0.883 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.5765, allocations: 3.938 kB / 0.883 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001331/0.5778, allocations: 0.6969 MB / 0.8837 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/0.5779, allocations: 159.1 kB / 0.8838 GB, free: 9.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.578, allocations: 7.984 kB / 0.8838 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.578, allocations: 7.938 kB / 0.8838 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.5788, allocations: 159.8 kB / 0.884 GB, free: 9.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.5788, allocations: 4 kB / 0.884 GB, free: 9.746 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.5794, allocations: 87.33 kB / 0.8841 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.5794, allocations: 24 kB / 0.8841 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.5794, allocations: 4 kB / 0.8841 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/0.5805, allocations: 0.5558 MB / 0.8846 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5805, allocations: 4.141 kB / 0.8846 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.5805, allocations: 4 kB / 0.8846 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.5812, allocations: 155.8 kB / 0.8848 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5813, allocations: 8.188 kB / 0.8848 GB, free: 8.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.5818, allocations: 83.34 kB / 0.8849 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.5818, allocations: 23.98 kB / 0.8849 GB, free: 8.801 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.0004017/0.5822, allocations: 292.9 kB / 0.8852 GB, free: 8.504 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5824, allocations: 94.88 kB / 0.8853 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.5826, allocations: 105.3 kB / 0.8854 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5826, allocations: 4 kB / 0.8854 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5826, allocations: 0 / 0.8854 GB, free: 8.305 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5826, allocations: 7.984 kB / 0.8854 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.585, allocations: 1.528 MB / 0.8869 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.585, allocations: 4 kB / 0.8869 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5856, allocations: 115.8 kB / 0.887 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.5856, allocations: 0 / 0.887 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.5857, allocations: 19.92 kB / 0.887 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.5857, allocations: 4 kB / 0.887 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5857, allocations: 0 / 0.887 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.5875, allocations: 1.033 MB / 0.888 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.5878, allocations: 235.7 kB / 0.8882 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.5879, allocations: 19.88 kB / 0.8883 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.5884, allocations: 51.95 kB / 0.8883 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/0.5886, allocations: 36.52 kB / 0.8884 GB, free: 5.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5886, allocations: 23.98 kB / 0.8884 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007311/0.5893, allocations: 0.5187 MB / 0.8889 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5893, allocations: 0 / 0.8889 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008167/0.5902, allocations: 287.1 kB / 0.8892 GB, free: 4.328 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.0001913/0.5904, allocations: 119.7 kB / 0.8893 GB, free: 4.203 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.5922, allocations: 0.8702 MB / 0.8901 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5922, allocations: 0 / 0.8901 GB, free: 3.336 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.5928, allocations: 291.5 kB / 0.8904 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.5939, allocations: 234.9 kB / 0.8906 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.5972, allocations: 1.825 MB / 0.8924 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2716/0.8688, allocations: 0.997 MB / 0.8934 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000868/0.8697, allocations: 119.4 kB / 0.8935 GB, free: 137 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.8699, allocations: 64.41 kB / 0.8936 GB, free: 137 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/0.87, allocations: 0 / 0.8936 GB, free: 137 MB / 0.5573 GB Notification: Performance of Templates: time 0.0218/0.8918, allocations: 9.259 MB / 0.9026 GB, free: 136.7 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)