Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 102 kB / 16.94 MB, free: 5.789 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.001225/0.001225, allocations: 185.3 kB / 17.86 MB, free: 5.156 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.469/1.469, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8059/0.8059, allocations: 125.4 MB / 417.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 0.4948 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.443, allocations: 78.56 MB / 0.5715 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005367/0.4484, allocations: 4.093 MB / 0.5755 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.4514, allocations: 1.324 MB / 0.5768 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.4521, allocations: 21.38 kB / 0.5768 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.4525, allocations: 129.9 kB / 0.5769 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.4529, allocations: 178.5 kB / 0.5771 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.4539, allocations: 418.7 kB / 0.5775 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009142/0.4548, allocations: 0.9512 MB / 0.5784 GB, free: 26.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006329/0.4555, allocations: 458.7 kB / 0.5789 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.4559, allocations: 333.8 kB / 0.5792 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.4562, allocations: 339.4 kB / 0.5795 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.4564, allocations: 92.62 kB / 0.5796 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4565, allocations: 91.62 kB / 0.5797 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.4567, allocations: 168.4 kB / 0.5799 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003321/0.457, allocations: 398.8 kB / 0.5802 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.4581, allocations: 1.029 MB / 0.5812 GB, free: 24.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4581, allocations: 6.25 kB / 0.5812 GB, free: 24.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.087e-06/0.4581, allocations: 0 / 0.5812 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4581, allocations: 5.688 kB / 0.5812 GB, free: 24.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001769/0.4599, allocations: 1.072 MB / 0.5823 GB, free: 24.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.46, allocations: 10.59 kB / 0.5823 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.4601, allocations: 85.62 kB / 0.5824 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007183/0.4608, allocations: 0.5531 MB / 0.5829 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.4609, allocations: 44.66 kB / 0.583 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.461, allocations: 61.16 kB / 0.583 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.462, allocations: 0.6073 MB / 0.5836 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.462, allocations: 6.609 kB / 0.5836 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.4621, allocations: 25.47 kB / 0.5837 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.4621, allocations: 18.36 kB / 0.5837 GB, free: 23.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.463, allocations: 458.8 kB / 0.5841 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.4656, allocations: 2.019 MB / 0.5861 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.4665, allocations: 446.5 kB / 0.5865 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/0.4669, allocations: 244.3 kB / 0.5867 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.467, allocations: 6.844 kB / 0.5867 GB, free: 20.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.4676, allocations: 257.4 kB / 0.587 GB, free: 20.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.856e-06/0.4676, allocations: 0.6562 kB / 0.587 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001365/0.4689, allocations: 0.5833 MB / 0.5876 GB, free: 20.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.469, allocations: 57.03 kB / 0.5876 GB, free: 20.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.4695, allocations: 448.1 kB / 0.588 GB, free: 20.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.4695, allocations: 36.61 kB / 0.5881 GB, free: 20.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4697, allocations: 323.1 kB / 0.5884 GB, free: 19.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.4698, allocations: 170.6 kB / 0.5885 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.47, allocations: 90.19 kB / 0.5886 GB, free: 19.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.4701, allocations: 367.2 kB / 0.589 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.4705, allocations: 163.7 kB / 0.5891 GB, free: 19.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.4709, allocations: 253.2 kB / 0.5894 GB, free: 19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/0.4717, allocations: 454.5 kB / 0.5898 GB, free: 18.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4717, allocations: 1.094 kB / 0.5898 GB, free: 18.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001031/0.4727, allocations: 0.5607 MB / 0.5904 GB, free: 18.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.4728, allocations: 40.94 kB / 0.5904 GB, free: 18.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4728, allocations: 6.344 kB / 0.5904 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.4728, allocations: 4.656 kB / 0.5904 GB, free: 18.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4733, allocations: 110.8 kB / 0.5905 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.4733, allocations: 8.5 kB / 0.5905 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.4737, allocations: 54.73 kB / 0.5906 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.4737, allocations: 22.86 kB / 0.5906 GB, free: 18.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002319/0.474, allocations: 208.1 kB / 0.5908 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.474, allocations: 58.59 kB / 0.5909 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.4742, allocations: 67.77 kB / 0.5909 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4742, allocations: 8.328 kB / 0.5909 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.4742, allocations: 1.156 kB / 0.5909 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4742, allocations: 1.156 kB / 0.5909 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.4758, allocations: 1.172 MB / 0.5921 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4758, allocations: 0.6562 kB / 0.5921 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.4763, allocations: 101.5 kB / 0.5922 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4763, allocations: 1.438 kB / 0.5922 GB, free: 17.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.4764, allocations: 10.97 kB / 0.5922 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4764, allocations: 3.812 kB / 0.5922 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4764, allocations: 3.984 kB / 0.5922 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4777, allocations: 0.7607 MB / 0.5929 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.4779, allocations: 172.4 kB / 0.5931 GB, free: 16.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.4779, allocations: 7.281 kB / 0.5931 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.4782, allocations: 27.19 kB / 0.5931 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4783, allocations: 32.58 kB / 0.5932 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.4784, allocations: 18.38 kB / 0.5932 GB, free: 16.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003215/0.4787, allocations: 308.1 kB / 0.5935 GB, free: 16.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4787, allocations: 0 / 0.5935 GB, free: 16.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.4792, allocations: 146 kB / 0.5936 GB, free: 16.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001195/0.4793, allocations: 116 kB / 0.5937 GB, free: 16.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4804, allocations: 0.4897 MB / 0.5942 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4804, allocations: 1.531 kB / 0.5942 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.4808, allocations: 212.9 kB / 0.5944 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.4816, allocations: 161.6 kB / 0.5946 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.4839, allocations: 1.397 MB / 0.5959 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4842, allocations: 0.8938 MB / 0.5968 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.4843, allocations: 43.44 kB / 0.5968 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4844, allocations: 0 / 0.5968 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Templates: time 0.008583/0.4929, allocations: 7.598 MB / 0.6043 GB, free: 5.562 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)