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.001329/0.00133, allocations: 106.8 kB / 16.52 MB, free: 6.703 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.001044/0.001044, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 59.89 kB / 493.5 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3805, allocations: 76.17 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004588/0.3851, allocations: 4.113 MB / 0.5604 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3873, allocations: 1.282 MB / 0.5616 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/0.3876, allocations: 24.94 kB / 0.5617 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.388, allocations: 94.28 kB / 0.5617 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.3883, allocations: 145.8 kB / 0.5619 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.389, allocations: 382.6 kB / 0.5623 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007303/0.3898, allocations: 0.8757 MB / 0.5631 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005523/0.3903, allocations: 428.3 kB / 0.5635 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.3906, allocations: 278.6 kB / 0.5638 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.391, allocations: 312.4 kB / 0.5641 GB, free: 31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.3911, allocations: 43.88 kB / 0.5641 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.076e-05/0.3912, allocations: 40.62 kB / 0.5642 GB, free: 31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.3913, allocations: 121.1 kB / 0.5643 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.3915, allocations: 347.1 kB / 0.5646 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008/0.3923, allocations: 0.8296 MB / 0.5654 GB, free: 30.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3924, allocations: 0 / 0.5654 GB, free: 30.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3924, allocations: 0 / 0.5654 GB, free: 30.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3924, allocations: 0 / 0.5654 GB, free: 30.41 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.001699/0.3941, allocations: 1.071 MB / 0.5665 GB, free: 29.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3941, allocations: 13.16 kB / 0.5665 GB, free: 29.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.3943, allocations: 94.2 kB / 0.5666 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007808/0.3951, allocations: 0.5506 MB / 0.5671 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.3951, allocations: 45.75 kB / 0.5671 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.3952, allocations: 61.72 kB / 0.5672 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3963, allocations: 0.6053 MB / 0.5678 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.3964, allocations: 2.219 kB / 0.5678 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.3964, allocations: 25.47 kB / 0.5678 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3964, allocations: 15.42 kB / 0.5678 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009968/0.3974, allocations: 462.6 kB / 0.5683 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.4004, allocations: 2.011 MB / 0.5702 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.4014, allocations: 444.3 kB / 0.5707 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.4019, allocations: 239.3 kB / 0.5709 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.4019, allocations: 5.531 kB / 0.5709 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006667/0.4026, allocations: 259 kB / 0.5711 GB, free: 27.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.615e-06/0.4026, allocations: 1.031 kB / 0.5711 GB, free: 27.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.0014/0.404, allocations: 0.5849 MB / 0.5717 GB, free: 26.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.4041, allocations: 65.73 kB / 0.5718 GB, free: 26.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.4047, allocations: 441.5 kB / 0.5722 GB, free: 26.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.4047, allocations: 37.05 kB / 0.5722 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.4049, allocations: 323.6 kB / 0.5725 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.405, allocations: 168.4 kB / 0.5727 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4052, allocations: 92.06 kB / 0.5728 GB, free: 26.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4053, allocations: 364.4 kB / 0.5731 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.4057, allocations: 168.5 kB / 0.5733 GB, free: 25.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.4061, allocations: 251 kB / 0.5735 GB, free: 25.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.4069, allocations: 453 kB / 0.574 GB, free: 25.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4069, allocations: 1.375 kB / 0.574 GB, free: 25.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001012/0.4079, allocations: 0.5611 MB / 0.5745 GB, free: 24.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.408, allocations: 37.31 kB / 0.5746 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.408, allocations: 5.375 kB / 0.5746 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.408, allocations: 8.062 kB / 0.5746 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.4085, allocations: 113.2 kB / 0.5747 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.4086, allocations: 13.62 kB / 0.5747 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.4089, allocations: 63.41 kB / 0.5748 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.409, allocations: 18.12 kB / 0.5748 GB, free: 24.87 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.0002487/0.4092, allocations: 208.2 kB / 0.575 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.4093, allocations: 65.5 kB / 0.575 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4095, allocations: 63.84 kB / 0.5751 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4095, allocations: 5.781 kB / 0.5751 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4095, allocations: 2.469 kB / 0.5751 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.4095, allocations: 6.797 kB / 0.5751 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.4113, allocations: 1.177 MB / 0.5763 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4113, allocations: 0 / 0.5763 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.4118, allocations: 90.34 kB / 0.5763 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4118, allocations: 8.781 kB / 0.5763 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.4118, allocations: 12.41 kB / 0.5764 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4118, allocations: 2.938 kB / 0.5764 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4118, allocations: 0 / 0.5764 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.4132, allocations: 0.7587 MB / 0.5771 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.4133, allocations: 171.4 kB / 0.5773 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4134, allocations: 11.89 kB / 0.5773 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.4137, allocations: 28.53 kB / 0.5773 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.4138, allocations: 34.58 kB / 0.5773 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.4139, allocations: 14.61 kB / 0.5774 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.4143, allocations: 309.9 kB / 0.5776 GB, free: 23.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4143, allocations: 0 / 0.5776 GB, free: 23.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004863/0.4148, allocations: 143.1 kB / 0.5778 GB, free: 23.16 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.0001327/0.4149, allocations: 117.3 kB / 0.5779 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008749/0.4158, allocations: 482.2 kB / 0.5784 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4158, allocations: 1.125 kB / 0.5784 GB, free: 22.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.4162, allocations: 215.8 kB / 0.5786 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.417, allocations: 147.9 kB / 0.5787 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.4195, allocations: 1.648 MB / 0.5803 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.4199, allocations: 0.8922 MB / 0.5812 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.4201, allocations: 47.77 kB / 0.5812 GB, free: 20.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4201, allocations: 0 / 0.5812 GB, free: 20.93 MB / 446.1 MB Notification: Performance of Templates: time 0.01093/0.431, allocations: 7.593 MB / 0.5886 GB, free: 18.05 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)