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.355/1.355, allocations: 249.5 MB / 257 MB, free: 6.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 176.8 kB / 316.3 MB, free: 3.242 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.452/1.452, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0007847/0.0007847, allocations: 92.84 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7023/0.8946, allocations: 138.8 MB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.8949, allocations: 83.69 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03341/0.9284, allocations: 12.47 MB / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.015e-06/0.9284, allocations: 0 / 1.033 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.799e-05/0.9285, allocations: 16 kB / 1.033 GB, free: 4.305 MB / 0.6511 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.001809/0.9303, allocations: 0.87 MB / 1.034 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.9304, allocations: 8.031 kB / 1.034 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.9306, allocations: 90.92 kB / 1.034 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.9318, allocations: 0.5295 MB / 1.035 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.9318, allocations: 24 kB / 1.035 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.06e-05/0.9319, allocations: 32 kB / 1.035 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007815/0.9327, allocations: 393.8 kB / 1.035 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008619/0.9336, allocations: 0.5163 MB / 1.036 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.9336, allocations: 11.98 kB / 1.036 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.9337, allocations: 3.953 kB / 1.036 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.9337, allocations: 12.44 kB / 1.036 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.9366, allocations: 1.982 MB / 1.037 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.9372, allocations: 414.3 kB / 1.038 GB, free: 424 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.9375, allocations: 214.1 kB / 1.038 GB, free: 292 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.9375, allocations: 4.438 kB / 1.038 GB, free: 288 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.9379, allocations: 238.7 kB / 1.038 GB, free: 112 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.938, allocations: 0 / 1.038 GB, free: 112 kB / 0.6511 GB Notification: Performance of matching and sorting (n=50): time 0.0006859/0.9386, allocations: 396.5 kB / 1.039 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.893e-05/0.9388, allocations: 158.7 kB / 1.039 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.9392, allocations: 355.9 kB / 1.039 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.9392, allocations: 33.7 kB / 1.039 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.9394, allocations: 319.9 kB / 1.04 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.9396, allocations: 163 kB / 1.04 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.9396, allocations: 0 / 1.04 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9397, allocations: 360.4 kB / 1.04 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.94, allocations: 144.8 kB / 1.04 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.9403, allocations: 251.9 kB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.9405, allocations: 168.9 kB / 1.041 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9405, allocations: 0 / 1.041 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006739/0.9412, allocations: 476.4 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.9413, allocations: 33.66 kB / 1.041 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.9413, allocations: 4 kB / 1.041 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9413, allocations: 8 kB / 1.041 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005029/0.9418, allocations: 126.6 kB / 1.041 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.9419, allocations: 11.98 kB / 1.041 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.9423, allocations: 59.66 kB / 1.041 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.9423, allocations: 23.8 kB / 1.041 GB, free: 13.64 MB / 0.6667 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/0.9424, allocations: 120.9 kB / 1.041 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006084/0.9431, allocations: 399.5 kB / 1.042 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.9431, allocations: 59.3 kB / 1.042 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.9433, allocations: 56.39 kB / 1.042 GB, free: 13.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.9433, allocations: 7.984 kB / 1.042 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9433, allocations: 3.938 kB / 1.042 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9433, allocations: 0 / 1.042 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.9447, allocations: 1.115 MB / 1.043 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9447, allocations: 0 / 1.043 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.9452, allocations: 103.4 kB / 1.043 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9453, allocations: 4 kB / 1.043 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.9453, allocations: 3.312 kB / 1.043 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9453, allocations: 4 kB / 1.043 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9453, allocations: 4 kB / 1.043 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.9462, allocations: 0.713 MB / 1.044 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.9464, allocations: 181.5 kB / 1.044 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.9465, allocations: 3.562 kB / 1.044 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.9469, allocations: 39.97 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.947, allocations: 35.94 kB / 1.044 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.947, allocations: 15.44 kB / 1.044 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002797/0.9473, allocations: 272 kB / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9473, allocations: 0 / 1.044 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000478/0.9478, allocations: 139.4 kB / 1.044 GB, free: 11.11 MB / 0.6667 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.001293/0.9491, allocations: 1.265 MB / 1.046 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006752/0.9498, allocations: 435.8 kB / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.9498, allocations: 0 / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.9501, allocations: 199.9 kB / 1.046 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007133/0.9508, allocations: 123.9 kB / 1.046 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.9555, allocations: 1.344 MB / 1.048 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007157/0.9562, allocations: 0.9018 MB / 1.049 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004683/0.9567, allocations: 68.34 kB / 1.049 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.957, allocations: 224.1 kB / 1.049 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of SimCode: time 4.81e-07/0.957, allocations: 0 / 1.049 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.9975, allocations: 10.37 MB / 1.059 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.9977, allocations: 158.9 kB / 1.059 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.234, allocations: 0 / 1.059 GB, free: 12.72 MB / 0.6823 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)