Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001321, allocations: 179 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.000759, allocations: 84.36 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003737, allocations: 10.09 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.259, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00355/0.2626, allocations: 3.536 MB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.2647, allocations: 1.294 MB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.265, allocations: 23.88 kB / 0.905 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.2653, allocations: 95.14 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.2656, allocations: 138.8 kB / 0.9053 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.2663, allocations: 290.8 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.2669, allocations: 0.8306 MB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.2673, allocations: 295.6 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.2675, allocations: 230.9 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2677, allocations: 246.5 kB / 0.9071 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.2678, allocations: 24 kB / 0.9071 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.2679, allocations: 27.94 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.268, allocations: 87.56 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.2681, allocations: 161.2 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.2686, allocations: 0.8028 MB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2686, allocations: 0 / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2686, allocations: 4 kB / 0.9082 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2686, allocations: 0 / 0.9082 GB, free: 55.7 MB / 0.6042 GB 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.001443/0.2701, allocations: 0.9562 MB / 0.9091 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2701, allocations: 8.031 kB / 0.9091 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.2702, allocations: 98.52 kB / 0.9092 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.2704, allocations: 86.92 kB / 0.9093 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006919/0.2711, allocations: 0.533 MB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.2711, allocations: 41.31 kB / 0.9098 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.2712, allocations: 63.91 kB / 0.9099 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009847/0.2722, allocations: 0.6114 MB / 0.9105 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2722, allocations: 0 / 0.9105 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.2723, allocations: 20 kB / 0.9105 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.2723, allocations: 16 kB / 0.9105 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000856/0.2731, allocations: 465 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.2755, allocations: 2.028 MB / 0.913 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/0.2763, allocations: 453 kB / 0.9134 GB, free: 50.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.2767, allocations: 246 kB / 0.9136 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.2768, allocations: 8.422 kB / 0.9136 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.2773, allocations: 269.3 kB / 0.9139 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.2773, allocations: 0 / 0.9139 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001109/0.2784, allocations: 0.596 MB / 0.9145 GB, free: 49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2785, allocations: 59.84 kB / 0.9145 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.2789, allocations: 442.7 kB / 0.9149 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2789, allocations: 41.7 kB / 0.915 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2791, allocations: 320.3 kB / 0.9153 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.828e-05/0.2792, allocations: 165.6 kB / 0.9155 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.2792, allocations: 8 kB / 0.9155 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.2793, allocations: 362.8 kB / 0.9158 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.2796, allocations: 173 kB / 0.916 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.28, allocations: 257.8 kB / 0.9162 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.2804, allocations: 223.9 kB / 0.9164 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2804, allocations: 0 / 0.9164 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008917/0.2813, allocations: 0.5624 MB / 0.917 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.2814, allocations: 41.64 kB / 0.917 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.2814, allocations: 8.25 kB / 0.917 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2814, allocations: 7.938 kB / 0.917 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.2819, allocations: 119.8 kB / 0.9171 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2819, allocations: 4 kB / 0.9172 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003456/0.2823, allocations: 71.5 kB / 0.9172 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2823, allocations: 16 kB / 0.9172 GB, free: 46.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.2826, allocations: 213.7 kB / 0.9174 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.2826, allocations: 59.23 kB / 0.9175 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.2827, allocations: 65.55 kB / 0.9176 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.2828, allocations: 8 kB / 0.9176 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.2828, allocations: 0 / 0.9176 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2828, allocations: 3.984 kB / 0.9176 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.2842, allocations: 1.181 MB / 0.9187 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2843, allocations: 3.953 kB / 0.9187 GB, free: 44.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.2847, allocations: 99.88 kB / 0.9188 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2847, allocations: 4 kB / 0.9188 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.2848, allocations: 12 kB / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2848, allocations: 3.938 kB / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2848, allocations: 0 / 0.9188 GB, free: 44.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.2859, allocations: 0.768 MB / 0.9196 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.2861, allocations: 176.3 kB / 0.9198 GB, free: 43.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.2861, allocations: 12 kB / 0.9198 GB, free: 43.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.2864, allocations: 35.88 kB / 0.9198 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.2865, allocations: 36.38 kB / 0.9198 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.2866, allocations: 16 kB / 0.9199 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002663/0.2868, allocations: 306.9 kB / 0.9201 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2868, allocations: 0 / 0.9201 GB, free: 42.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003952/0.2872, allocations: 143.5 kB / 0.9203 GB, free: 42.85 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001353/0.2886, allocations: 1.325 MB / 0.9216 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008026/0.2894, allocations: 497.1 kB / 0.9221 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2894, allocations: 0 / 0.9221 GB, free: 40.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.2898, allocations: 218.9 kB / 0.9223 GB, free: 40.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007273/0.2905, allocations: 151.8 kB / 0.9224 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.2958, allocations: 3.573 MB / 0.9259 GB, free: 36.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2961, allocations: 0.8863 MB / 0.9268 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.2965, allocations: 64.58 kB / 0.9268 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.2967, allocations: 219.4 kB / 0.927 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of SimCode: time 7.32e-07/0.2968, allocations: 4 kB / 0.927 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.3178, allocations: 10.67 MB / 0.9375 GB, free: 25.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.318, allocations: 211.8 kB / 0.9377 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/2.771, allocations: 0 / 0.9377 GB, free: 25.1 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)