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.00116/0.00116, allocations: 107.7 kB / 17.02 MB, free: 5.699 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.001135/0.001135, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.1 MB / 406.9 MB, free: 6.395 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 76.14 MB / 0.5576 GB, free: 36.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004632/0.3142, allocations: 4.102 MB / 0.5616 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3166, allocations: 1.318 MB / 0.5628 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.3171, allocations: 24.78 kB / 0.5629 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.3174, allocations: 127.4 kB / 0.563 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.3178, allocations: 177 kB / 0.5632 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008394/0.3187, allocations: 420.6 kB / 0.5636 GB, free: 32.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009911/0.3197, allocations: 0.9552 MB / 0.5645 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006162/0.3203, allocations: 459.1 kB / 0.5649 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3207, allocations: 337.2 kB / 0.5653 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.3211, allocations: 335.9 kB / 0.5656 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3212, allocations: 90.22 kB / 0.5657 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3213, allocations: 90.81 kB / 0.5657 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3215, allocations: 177.3 kB / 0.5659 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.3217, allocations: 394.9 kB / 0.5663 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3228, allocations: 1.058 MB / 0.5673 GB, free: 30.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3228, allocations: 1.797 kB / 0.5673 GB, free: 30.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3228, allocations: 0 / 0.5673 GB, free: 30.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.3228, allocations: 0 / 0.5673 GB, free: 30.46 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.001837/0.3246, allocations: 1.074 MB / 0.5684 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3247, allocations: 9.172 kB / 0.5684 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.3249, allocations: 87.53 kB / 0.5685 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009091/0.3258, allocations: 0.5677 MB / 0.569 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.3258, allocations: 41.88 kB / 0.5691 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.951e-05/0.3259, allocations: 59.77 kB / 0.5691 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.327, allocations: 0.6129 MB / 0.5697 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.327, allocations: 1.438 kB / 0.5697 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.3271, allocations: 25.06 kB / 0.5697 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3271, allocations: 15.84 kB / 0.5698 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/0.3281, allocations: 458.5 kB / 0.5702 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.3309, allocations: 1.993 MB / 0.5721 GB, free: 27.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.3319, allocations: 448.2 kB / 0.5726 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.3323, allocations: 242.8 kB / 0.5728 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.205e-05/0.3324, allocations: 6.531 kB / 0.5728 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.3329, allocations: 264.7 kB / 0.5731 GB, free: 27.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/0.3329, allocations: 1.625 kB / 0.5731 GB, free: 27.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001287/0.3342, allocations: 0.5811 MB / 0.5736 GB, free: 26.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.3343, allocations: 59.12 kB / 0.5737 GB, free: 26.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.3348, allocations: 446.6 kB / 0.5741 GB, free: 26.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.3348, allocations: 36.36 kB / 0.5741 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.335, allocations: 328.4 kB / 0.5745 GB, free: 26.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3352, allocations: 167.1 kB / 0.5746 GB, free: 26.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3353, allocations: 93.81 kB / 0.5747 GB, free: 26.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.3354, allocations: 363.5 kB / 0.5751 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.3358, allocations: 168.3 kB / 0.5752 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.3362, allocations: 247.5 kB / 0.5754 GB, free: 25.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007475/0.337, allocations: 454.5 kB / 0.5759 GB, free: 25.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.337, allocations: 0 / 0.5759 GB, free: 25.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001071/0.3381, allocations: 0.5585 MB / 0.5764 GB, free: 25.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.3381, allocations: 38.33 kB / 0.5765 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3381, allocations: 2.75 kB / 0.5765 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.3382, allocations: 5.312 kB / 0.5765 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3387, allocations: 114 kB / 0.5766 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.3387, allocations: 5.359 kB / 0.5766 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.3391, allocations: 58.64 kB / 0.5766 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3392, allocations: 19.72 kB / 0.5767 GB, free: 24.93 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.000287/0.3394, allocations: 208 kB / 0.5769 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.3395, allocations: 67.23 kB / 0.5769 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.3397, allocations: 68.2 kB / 0.577 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3397, allocations: 4.906 kB / 0.577 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.3397, allocations: 1.156 kB / 0.577 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3397, allocations: 3.266 kB / 0.577 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.3415, allocations: 1.181 MB / 0.5782 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3416, allocations: 0 / 0.5782 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.342, allocations: 96.22 kB / 0.5782 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3421, allocations: 2.688 kB / 0.5782 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.3421, allocations: 12.23 kB / 0.5783 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3421, allocations: 2.531 kB / 0.5783 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3421, allocations: 1.344 kB / 0.5783 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3435, allocations: 0.7658 MB / 0.579 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.3437, allocations: 170.5 kB / 0.5792 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.3438, allocations: 11.8 kB / 0.5792 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.3441, allocations: 25.86 kB / 0.5792 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3442, allocations: 31.12 kB / 0.5792 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.3442, allocations: 15.66 kB / 0.5793 GB, free: 23.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004113/0.3446, allocations: 308.3 kB / 0.5795 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3446, allocations: 2.844 kB / 0.5795 GB, free: 23.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005347/0.3452, allocations: 145.5 kB / 0.5797 GB, free: 23.2 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.0001143/0.3453, allocations: 115.4 kB / 0.5798 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.3463, allocations: 483.5 kB / 0.5803 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3463, allocations: 0 / 0.5803 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.3467, allocations: 223.1 kB / 0.5805 GB, free: 22.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.3475, allocations: 150.9 kB / 0.5806 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.3502, allocations: 1.336 MB / 0.5819 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.3506, allocations: 0.8879 MB / 0.5828 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.351, allocations: 63.73 kB / 0.5828 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.3511, allocations: 43.58 kB / 0.5829 GB, free: 21.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.51e-07/0.3511, allocations: 5.344 kB / 0.5829 GB, free: 21.27 MB / 446.1 MB Notification: Performance of Templates: time 0.01267/0.3638, allocations: 5.92 MB / 0.5887 GB, free: 19.15 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)