Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001743/0.001743, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 279.2 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.978/0.978, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 87.86 kB / 0.6821 GB, free: 7.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4141, allocations: 86.98 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPID): time 0.004335/0.4185, allocations: 3.721 MB / 0.7707 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4205, allocations: 1.332 MB / 0.772 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.4208, allocations: 27.88 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.4211, allocations: 126.6 kB / 0.7721 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.4215, allocations: 162.6 kB / 0.7723 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009957/0.4225, allocations: 0.581 MB / 0.7728 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008318/0.4233, allocations: 0.9642 MB / 0.7738 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.4238, allocations: 361.1 kB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.4242, allocations: 370.4 kB / 0.7745 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.4245, allocations: 358 kB / 0.7748 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4246, allocations: 76 kB / 0.7749 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.4247, allocations: 80 kB / 0.775 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.4249, allocations: 179.3 kB / 0.7751 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.4251, allocations: 385.7 kB / 0.7755 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006923/0.4258, allocations: 0.8859 MB / 0.7764 GB, free: 10.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4258, allocations: 0 / 0.7764 GB, free: 10.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4259, allocations: 0 / 0.7764 GB, free: 10.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.4259, allocations: 3.938 kB / 0.7764 GB, free: 10.36 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001855/0.4277, allocations: 1.187 MB / 0.7775 GB, free: 9.117 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4278, allocations: 8.031 kB / 0.7775 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.4279, allocations: 95.81 kB / 0.7776 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.4288, allocations: 0.6143 MB / 0.7782 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.4289, allocations: 96.91 kB / 0.7783 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.429, allocations: 60.36 kB / 0.7784 GB, free: 8.195 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.43, allocations: 0.6003 MB / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4301, allocations: 0 / 0.779 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.4301, allocations: 20 kB / 0.779 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4301, allocations: 12 kB / 0.779 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009372/0.4311, allocations: 423.6 kB / 0.7794 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.4335, allocations: 2.098 MB / 0.7814 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4347, allocations: 499.1 kB / 0.7819 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.4352, allocations: 220.8 kB / 0.7821 GB, free: 4.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.4352, allocations: 4 kB / 0.7821 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.4359, allocations: 282.1 kB / 0.7824 GB, free: 3.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.4359, allocations: 0 / 0.7824 GB, free: 3.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.001377/0.4372, allocations: 0.6099 MB / 0.783 GB, free: 3.293 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.4373, allocations: 89.95 kB / 0.7831 GB, free: 3.188 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.4379, allocations: 0.6178 MB / 0.7837 GB, free: 2.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/0.438, allocations: 37.7 kB / 0.7837 GB, free: 2.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.4382, allocations: 356.7 kB / 0.7841 GB, free: 2.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.4384, allocations: 153.8 kB / 0.7842 GB, free: 2.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4385, allocations: 94.16 kB / 0.7843 GB, free: 1.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4386, allocations: 330 kB / 0.7846 GB, free: 1.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.4391, allocations: 187 kB / 0.7848 GB, free: 1.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.4396, allocations: 280.2 kB / 0.7851 GB, free: 1.086 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.4405, allocations: 473.9 kB / 0.7855 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4405, allocations: 3.938 kB / 0.7855 GB, free: 0.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001134/0.4416, allocations: 0.606 MB / 0.7861 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.4417, allocations: 40.03 kB / 0.7861 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4417, allocations: 0 / 0.7861 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4417, allocations: 4 kB / 0.7861 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.4422, allocations: 111.8 kB / 0.7863 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4422, allocations: 4 kB / 0.7863 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.4426, allocations: 67.62 kB / 0.7863 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4426, allocations: 24 kB / 0.7863 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005274/0.4432, allocations: 311.6 kB / 0.7866 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004301/0.4436, allocations: 272.2 kB / 0.7869 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007885/0.4444, allocations: 446 kB / 0.7873 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.4444, allocations: 0 / 0.7873 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001036/0.4455, allocations: 0.5825 MB / 0.7879 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.4455, allocations: 33.7 kB / 0.7879 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.4455, allocations: 4.312 kB / 0.7879 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.4455, allocations: 8 kB / 0.7879 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.446, allocations: 103.8 kB / 0.788 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.446, allocations: 4 kB / 0.788 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.4463, allocations: 51.58 kB / 0.7881 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4464, allocations: 19.98 kB / 0.7881 GB, free: 13.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0001521/0.4465, allocations: 222.8 kB / 0.7883 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.4466, allocations: 71.16 kB / 0.7884 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.4468, allocations: 79.22 kB / 0.7885 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4468, allocations: 3.984 kB / 0.7885 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4468, allocations: 0 / 0.7885 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.447, allocations: 188 kB / 0.7887 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.4471, allocations: 15.98 kB / 0.7887 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.4475, allocations: 35.97 kB / 0.7887 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.4476, allocations: 35.89 kB / 0.7887 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001339/0.449, allocations: 0.5601 MB / 0.7893 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001516/0.4505, allocations: 0.8893 MB / 0.7902 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004209/0.4509, allocations: 208.1 kB / 0.7903 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004406/0.4514, allocations: 435 kB / 0.7908 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/0.4514, allocations: 0 / 0.7908 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.4529, allocations: 0.7051 MB / 0.7915 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002176/0.455, allocations: 1.671 MB / 0.7931 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of Templates: time 0.01551/0.4706, allocations: 10.52 MB / 0.8034 GB, free: 14.19 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.pipe 2>&1)