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.8975/0.8975, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001036/0.001036, allocations: 172.8 kB / 182.2 MB, free: 9.449 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.303/1.303, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009267/0.0009267, allocations: 92.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 270.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.217e-05/1.219e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3535, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1364/0.49, allocations: 116.3 MB / 0.8709 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.4903, allocations: 75.84 kB / 0.871 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05336/0.5437, allocations: 19.66 MB / 0.8902 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5437, allocations: 8.125 kB / 0.8902 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001008/0.5439, allocations: 31.94 kB / 0.8902 GB, free: 7.805 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.002077/0.5459, allocations: 1.074 MB / 0.8913 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.546, allocations: 8.031 kB / 0.8913 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003393/0.5463, allocations: 126.5 kB / 0.8914 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.5477, allocations: 0.7307 MB / 0.8921 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.5478, allocations: 55.7 kB / 0.8922 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.658e-05/0.5479, allocations: 40 kB / 0.8922 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000817/0.5487, allocations: 456 kB / 0.8926 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009959/0.5497, allocations: 0.6183 MB / 0.8932 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.5497, allocations: 7.938 kB / 0.8932 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.5498, allocations: 3.953 kB / 0.8932 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5498, allocations: 16 kB / 0.8933 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.553, allocations: 2.219 MB / 0.8954 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009996/0.554, allocations: 0.5534 MB / 0.896 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.5544, allocations: 202.5 kB / 0.8962 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.5545, allocations: 4.562 kB / 0.8962 GB, free: 1.496 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004663/0.5549, allocations: 282.2 kB / 0.8964 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 2.374e-06/0.5549, allocations: 0 / 0.8964 GB, free: 1.207 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.0008352/0.5558, allocations: 0.4908 MB / 0.8969 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.5559, allocations: 137 kB / 0.897 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2968/0.8527, allocations: 0.5512 MB / 0.8976 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.8529, allocations: 26.7 kB / 0.8976 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.8534, allocations: 442 kB / 0.898 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.8535, allocations: 203.1 kB / 0.8982 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.8536, allocations: 0 / 0.8982 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.898e-05/0.8536, allocations: 327.5 kB / 0.8985 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.854, allocations: 170.4 kB / 0.8987 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.8544, allocations: 284.7 kB / 0.899 GB, free: 125 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.8547, allocations: 198.6 kB / 0.8992 GB, free: 125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.8547, allocations: 0 / 0.8992 GB, free: 125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001011/0.8557, allocations: 0.5624 MB / 0.8997 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.8559, allocations: 0.8743 MB / 0.9006 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.8559, allocations: 5.141 kB / 0.9006 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.8559, allocations: 8.719 kB / 0.9006 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.8568, allocations: 157.9 kB / 0.9007 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8569, allocations: 8.688 kB / 0.9007 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.8574, allocations: 65.98 kB / 0.9008 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-05/0.8574, allocations: 20.25 kB / 0.9008 GB, free: 124 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.8575, allocations: 3.094 kB / 0.9008 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007076/0.8582, allocations: 445.3 kB / 0.9012 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.8582, allocations: 5.688 kB / 0.9012 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.8582, allocations: 5.312 kB / 0.9013 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.859, allocations: 154 kB / 0.9014 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.859, allocations: 12.33 kB / 0.9014 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.8594, allocations: 61.06 kB / 0.9015 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/0.8595, allocations: 19.94 kB / 0.9015 GB, free: 124 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 () * 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.0001301/0.8596, allocations: 121.7 kB / 0.9016 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.8597, allocations: 85.38 kB / 0.9017 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.8599, allocations: 91.08 kB / 0.9018 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.86, allocations: 6.688 kB / 0.9018 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.86, allocations: 3.953 kB / 0.9018 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.86, allocations: 3.047 kB / 0.9018 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.8617, allocations: 1.315 MB / 0.9031 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.8618, allocations: 3.125 kB / 0.9031 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.8624, allocations: 109.4 kB / 0.9032 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.8624, allocations: 5.344 kB / 0.9032 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.8624, allocations: 5.656 kB / 0.9032 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.8625, allocations: 9.359 kB / 0.9032 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8625, allocations: 2.531 kB / 0.9032 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.8636, allocations: 0.8605 MB / 0.904 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.8639, allocations: 226.7 kB / 0.9043 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.864, allocations: 2.328 kB / 0.9043 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.8645, allocations: 43.73 kB / 0.9043 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.8646, allocations: 40.77 kB / 0.9043 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.8646, allocations: 26.67 kB / 0.9044 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005053/0.8651, allocations: 433.2 kB / 0.9048 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8651, allocations: 0 / 0.9048 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007449/0.8659, allocations: 266.9 kB / 0.905 GB, free: 123.1 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 () * 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.0001357/0.866, allocations: 114.8 kB / 0.9051 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.8672, allocations: 0.739 MB / 0.9059 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8672, allocations: 1.531 kB / 0.9059 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.8676, allocations: 235.5 kB / 0.9061 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.8687, allocations: 213.8 kB / 0.9063 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.871, allocations: 1.132 MB / 0.9074 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.8716, allocations: 1.014 MB / 0.9084 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000812/0.8724, allocations: 167.1 kB / 0.9085 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.8726, allocations: 50.53 kB / 0.9086 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of SimCode: time 5.31e-07/0.8726, allocations: 0 / 0.9086 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01388/0.8865, allocations: 9.693 MB / 0.9181 GB, free: 121.4 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)