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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001653, allocations: 110.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 283.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9814/0.9814, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4187, allocations: 86.97 MB / 0.767 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005792/0.4245, allocations: 4.354 MB / 0.7713 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.4281, allocations: 1.586 MB / 0.7728 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.429, allocations: 35.81 kB / 0.7729 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000566/0.4296, allocations: 162.2 kB / 0.773 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.4309, allocations: 234.1 kB / 0.7732 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.4325, allocations: 0.674 MB / 0.7739 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.434, allocations: 1.222 MB / 0.7751 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.4349, allocations: 0.5155 MB / 0.7756 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.4356, allocations: 477.9 kB / 0.776 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000599/0.4362, allocations: 461.4 kB / 0.7765 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.4364, allocations: 104 kB / 0.7766 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.4366, allocations: 100 kB / 0.7767 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.4368, allocations: 235 kB / 0.7769 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.4373, allocations: 493 kB / 0.7774 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4385, allocations: 1.162 MB / 0.7785 GB, free: 8.242 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4385, allocations: 0 / 0.7785 GB, free: 8.242 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.4385, allocations: 0 / 0.7785 GB, free: 8.242 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.145e-05/0.4385, allocations: 0 / 0.7785 GB, free: 8.242 MB / 0.545 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.002987/0.4415, allocations: 1.395 MB / 0.7799 GB, free: 6.793 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4416, allocations: 8.031 kB / 0.7799 GB, free: 6.785 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.4419, allocations: 123.5 kB / 0.78 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.4435, allocations: 0.7665 MB / 0.7807 GB, free: 5.855 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.453e-05/0.4436, allocations: 84.25 kB / 0.7808 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4438, allocations: 68.38 kB / 0.7809 GB, free: 5.703 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4451, allocations: 0.7329 MB / 0.7816 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4451, allocations: 0 / 0.7816 GB, free: 4.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.4452, allocations: 35.92 kB / 0.7816 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.4452, allocations: 20 kB / 0.7817 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.4463, allocations: 0.5126 MB / 0.7822 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.4501, allocations: 2.251 MB / 0.7844 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.4516, allocations: 0.6127 MB / 0.785 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.4521, allocations: 276.8 kB / 0.7852 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.4522, allocations: 8.562 kB / 0.7852 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006838/0.4529, allocations: 319 kB / 0.7855 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 3.086e-06/0.4529, allocations: 4 kB / 0.7855 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of matching and sorting (n=60): time 0.001711/0.4546, allocations: 0.7516 MB / 0.7863 GB, free: 64 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.4547, allocations: 85.72 kB / 0.7863 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/0.4557, allocations: 0.7633 MB / 0.7871 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.4557, allocations: 37.7 kB / 0.7871 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.4561, allocations: 436.5 kB / 0.7875 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.4563, allocations: 205 kB / 0.7877 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.4564, allocations: 114.2 kB / 0.7878 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4566, allocations: 326 kB / 0.7882 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/0.4571, allocations: 215.4 kB / 0.7884 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.4576, allocations: 304.5 kB / 0.7887 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.4586, allocations: 0.5074 MB / 0.7892 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4587, allocations: 4 kB / 0.7892 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001311/0.46, allocations: 0.6462 MB / 0.7898 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.46, allocations: 8 kB / 0.7898 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.46, allocations: 0 / 0.7898 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.46, allocations: 16.19 kB / 0.7898 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.4607, allocations: 147.7 kB / 0.7899 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.4608, allocations: 4 kB / 0.79 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.4612, allocations: 79.28 kB / 0.79 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.4613, allocations: 20 kB / 0.79 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006209/0.4619, allocations: 357.3 kB / 0.7904 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004925/0.4624, allocations: 296.4 kB / 0.7907 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009107/0.4634, allocations: 495.7 kB / 0.7911 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.4634, allocations: 0 / 0.7911 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0012/0.4646, allocations: 0.6306 MB / 0.7918 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.4646, allocations: 4 kB / 0.7918 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4646, allocations: 4 kB / 0.7918 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.4646, allocations: 4 kB / 0.7918 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.4652, allocations: 143.7 kB / 0.7919 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.4653, allocations: 7.984 kB / 0.7919 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.4657, allocations: 51.77 kB / 0.792 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.4658, allocations: 27.94 kB / 0.792 GB, free: 9.988 MB / 0.5606 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,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.0002037/0.466, allocations: 226.4 kB / 0.7922 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.4661, allocations: 94.78 kB / 0.7923 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.4664, allocations: 101.2 kB / 0.7924 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4664, allocations: 3.984 kB / 0.7924 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4664, allocations: 0 / 0.7924 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/0.4667, allocations: 223.7 kB / 0.7926 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.4668, allocations: 16 kB / 0.7926 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.4673, allocations: 35.95 kB / 0.7927 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-05/0.4674, allocations: 36.52 kB / 0.7927 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00166/0.4691, allocations: 0.6665 MB / 0.7933 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001825/0.4709, allocations: 1.071 MB / 0.7944 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004804/0.4714, allocations: 264.3 kB / 0.7946 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006371/0.472, allocations: 0.5185 MB / 0.7952 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of Backend: time 3.71e-07/0.472, allocations: 0 / 0.7952 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.4737, allocations: 0.6849 MB / 0.7958 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of SimCode: time 0.003025/0.4767, allocations: 2.039 MB / 0.7978 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.02249/0.4992, allocations: 12.91 MB / 0.8104 GB, free: 7.152 MB / 0.5762 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)