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.0008755/0.0008754, allocations: 91.03 kB / 16.66 MB, free: 6.594 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.0009276/0.0009277, allocations: 180.1 kB / 17.57 MB, free: 6.184 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.354/1.354, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.5 MB / 408.2 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003452, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4013, allocations: 77.52 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004024/0.4054, allocations: 3.7 MB / 0.5642 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.4083, allocations: 1.262 MB / 0.5654 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.409, allocations: 23.75 kB / 0.5654 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.4094, allocations: 89.89 kB / 0.5655 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.4098, allocations: 154 kB / 0.5657 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008896/0.4107, allocations: 380.7 kB / 0.566 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009939/0.4117, allocations: 0.8749 MB / 0.5669 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.4124, allocations: 416.6 kB / 0.5673 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004462/0.4128, allocations: 234.3 kB / 0.5675 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.4132, allocations: 259.2 kB / 0.5678 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.4132, allocations: 22.88 kB / 0.5678 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.755e-05/0.4133, allocations: 23.62 kB / 0.5678 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.4134, allocations: 102.1 kB / 0.5679 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.4137, allocations: 330.9 kB / 0.5682 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009657/0.4147, allocations: 0.8088 MB / 0.569 GB, free: 30.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4147, allocations: 0 / 0.569 GB, free: 30.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.4147, allocations: 6.312 kB / 0.569 GB, free: 30.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4147, allocations: 0.5312 kB / 0.569 GB, free: 30.06 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.001799/0.4165, allocations: 0.951 MB / 0.5699 GB, free: 29.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.4166, allocations: 13.16 kB / 0.57 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.4168, allocations: 86.53 kB / 0.57 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.4177, allocations: 0.5478 MB / 0.5706 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.4178, allocations: 50.28 kB / 0.5706 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.4179, allocations: 59.14 kB / 0.5707 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4191, allocations: 0.6091 MB / 0.5713 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.4191, allocations: 9.531 kB / 0.5713 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.4192, allocations: 26.19 kB / 0.5713 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.4192, allocations: 16.48 kB / 0.5713 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.4203, allocations: 464.6 kB / 0.5718 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/0.4234, allocations: 2.027 MB / 0.5737 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.4244, allocations: 455.5 kB / 0.5742 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.4249, allocations: 243.2 kB / 0.5744 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.425, allocations: 6.188 kB / 0.5744 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.4256, allocations: 277.9 kB / 0.5747 GB, free: 26.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.795e-06/0.4256, allocations: 1.781 kB / 0.5747 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001408/0.427, allocations: 0.5958 MB / 0.5753 GB, free: 26.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.4271, allocations: 58.7 kB / 0.5753 GB, free: 26.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.4277, allocations: 444.6 kB / 0.5757 GB, free: 26.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.424e-05/0.4277, allocations: 33.2 kB / 0.5758 GB, free: 26.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.4279, allocations: 325.4 kB / 0.5761 GB, free: 25.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.4281, allocations: 164 kB / 0.5762 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.4281, allocations: 52.94 kB / 0.5763 GB, free: 25.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4282, allocations: 365.1 kB / 0.5766 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4287, allocations: 172.6 kB / 0.5768 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.4291, allocations: 258.6 kB / 0.5771 GB, free: 25.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.4299, allocations: 463.1 kB / 0.5775 GB, free: 24.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4299, allocations: 1.375 kB / 0.5775 GB, free: 24.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001047/0.431, allocations: 0.5662 MB / 0.578 GB, free: 24.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.431, allocations: 44.42 kB / 0.5781 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.431, allocations: 1.719 kB / 0.5781 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4311, allocations: 3.969 kB / 0.5781 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/0.4316, allocations: 117.1 kB / 0.5782 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4316, allocations: 4.969 kB / 0.5782 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.432, allocations: 69.56 kB / 0.5783 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.4321, allocations: 22.62 kB / 0.5783 GB, free: 24.64 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.0003215/0.4324, allocations: 208.9 kB / 0.5785 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.4325, allocations: 59.62 kB / 0.5786 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.4327, allocations: 65.06 kB / 0.5786 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.4327, allocations: 4.844 kB / 0.5786 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.4327, allocations: 1.281 kB / 0.5786 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.4327, allocations: 5.422 kB / 0.5786 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.4347, allocations: 1.197 MB / 0.5798 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4347, allocations: 0 / 0.5798 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.4352, allocations: 97.89 kB / 0.5799 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4353, allocations: 1.594 kB / 0.5799 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4353, allocations: 12.47 kB / 0.5799 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4353, allocations: 4.312 kB / 0.5799 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4353, allocations: 0.75 kB / 0.5799 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4368, allocations: 0.7776 MB / 0.5807 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.4371, allocations: 168.3 kB / 0.5808 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.4371, allocations: 16.17 kB / 0.5808 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.4375, allocations: 39.14 kB / 0.5809 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4376, allocations: 37.06 kB / 0.5809 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.4377, allocations: 14.67 kB / 0.5809 GB, free: 23.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004419/0.4381, allocations: 317.1 kB / 0.5812 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4381, allocations: 0 / 0.5812 GB, free: 22.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005111/0.4386, allocations: 136.8 kB / 0.5814 GB, free: 22.91 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.0001384/0.4388, allocations: 112.7 kB / 0.5815 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.4398, allocations: 495.9 kB / 0.5819 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4398, allocations: 0 / 0.5819 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.4403, allocations: 220 kB / 0.5822 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.4411, allocations: 145.2 kB / 0.5823 GB, free: 22.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.4443, allocations: 1.731 MB / 0.584 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4449, allocations: 0.8923 MB / 0.5849 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.4451, allocations: 42.41 kB / 0.5849 GB, free: 20.66 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4451, allocations: 1.375 kB / 0.5849 GB, free: 20.66 MB / 446.1 MB Notification: Performance of Templates: time 0.01697/0.462, allocations: 7.492 MB / 0.5922 GB, free: 17.77 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)