Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 289.9 MB / 297.4 MB, free: 6.371 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009675/0.0009675, allocations: 180.8 kB / 366.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.2 MB / 0.626 GB, free: 7.137 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009508/0.0009507, allocations: 88.61 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.96e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7353, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.9573, allocations: 145.1 MB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.9577, allocations: 80.61 kB / 1.115 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03215/0.9899, allocations: 12.42 MB / 1.127 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9899, allocations: 0 / 1.127 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.284e-05/0.99, allocations: 20 kB / 1.127 GB, free: 8.621 MB / 0.7292 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.00151/0.9915, allocations: 0.8683 MB / 1.128 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.9915, allocations: 8.031 kB / 1.128 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.9917, allocations: 87.45 kB / 1.128 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.9925, allocations: 0.535 MB / 1.129 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.9925, allocations: 23.94 kB / 1.129 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.9926, allocations: 36 kB / 1.129 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007413/0.9934, allocations: 393.7 kB / 1.129 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.9943, allocations: 0.5254 MB / 1.13 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.9943, allocations: 4 kB / 1.13 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.9944, allocations: 0 / 1.13 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.9944, allocations: 15.95 kB / 1.13 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002843/0.9972, allocations: 1.976 MB / 1.132 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.998, allocations: 407.5 kB / 1.132 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.9983, allocations: 208.3 kB / 1.132 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.9983, allocations: 12.41 kB / 1.132 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.9987, allocations: 236.4 kB / 1.132 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 1.754e-06/0.9988, allocations: 0 / 1.132 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.0006725/0.9994, allocations: 403.4 kB / 1.133 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.9995, allocations: 162.7 kB / 1.133 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.9999, allocations: 346 kB / 1.133 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/1, allocations: 33.7 kB / 1.133 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/1, allocations: 316.3 kB / 1.134 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1, allocations: 165.5 kB / 1.134 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/1, allocations: 0 / 1.134 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.001, allocations: 362.8 kB / 1.134 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/1.001, allocations: 145.1 kB / 1.134 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/1.001, allocations: 246.5 kB / 1.135 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/1.001, allocations: 174.1 kB / 1.135 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.001, allocations: 0 / 1.135 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007545/1.002, allocations: 470.3 kB / 1.135 GB, free: 256 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/1.002, allocations: 35.89 kB / 1.135 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.002, allocations: 7.953 kB / 1.135 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.002, allocations: 4 kB / 1.135 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/1.003, allocations: 120 kB / 1.135 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.003, allocations: 15.92 kB / 1.135 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/1.003, allocations: 59.7 kB / 1.135 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/1.003, allocations: 31.97 kB / 1.135 GB, free: 15.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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.0001329/1.003, allocations: 111.9 kB / 1.135 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005809/1.004, allocations: 403.4 kB / 1.136 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/1.004, allocations: 59.3 kB / 1.136 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/1.004, allocations: 57.19 kB / 1.136 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.004, allocations: 4 kB / 1.136 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.004, allocations: 0 / 1.136 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.004, allocations: 0 / 1.136 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/1.006, allocations: 1.119 MB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.006, allocations: 2.906 kB / 1.137 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/1.006, allocations: 101.9 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.006, allocations: 4 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/1.006, allocations: 4 kB / 1.137 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.006, allocations: 4 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.006, allocations: 4 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/1.007, allocations: 0.7095 MB / 1.138 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/1.008, allocations: 184.3 kB / 1.138 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/1.008, allocations: 4 kB / 1.138 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/1.008, allocations: 43.95 kB / 1.138 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/1.008, allocations: 36.33 kB / 1.138 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/1.008, allocations: 16 kB / 1.138 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003169/1.008, allocations: 271 kB / 1.138 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.008, allocations: 0 / 1.138 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004644/1.009, allocations: 139.5 kB / 1.139 GB, free: 12.64 MB / 0.7448 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.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * 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.001438/1.01, allocations: 1.268 MB / 1.14 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006483/1.011, allocations: 439.2 kB / 1.14 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.011, allocations: 0 / 1.14 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/1.011, allocations: 201.6 kB / 1.14 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/1.012, allocations: 122.6 kB / 1.141 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.015, allocations: 1.341 MB / 1.142 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/1.015, allocations: 0.9018 MB / 1.143 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002886/1.016, allocations: 64.34 kB / 1.143 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/1.016, allocations: 219.4 kB / 1.143 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.016, allocations: 0 / 1.143 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/1.049, allocations: 10.36 MB / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/1.049, allocations: 139.2 kB / 1.153 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/3.415, allocations: 0 / 1.153 GB, free: 13.68 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)