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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4981/0.4981, allocations: 90.8 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009601, allocations: 100.1 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.727e-05/3.729e-05, allocations: 8 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3475, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4858, allocations: 108.1 MB / 0.6658 GB, free: 12.22 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.486, allocations: 80.89 kB / 0.6659 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03333/0.5194, allocations: 12.37 MB / 0.678 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.349e-06/0.5195, allocations: 4 kB / 0.678 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.418e-05/0.5195, allocations: 16 kB / 0.678 GB, free: 15.75 MB / 0.4948 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.001518/0.521, allocations: 0.8684 MB / 0.6789 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5211, allocations: 15.98 kB / 0.6789 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5212, allocations: 94.52 kB / 0.679 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.5214, allocations: 86.97 kB / 0.6791 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007976/0.5222, allocations: 0.5212 MB / 0.6796 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.5223, allocations: 49.3 kB / 0.6796 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.5224, allocations: 67.86 kB / 0.6797 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.5234, allocations: 0.6054 MB / 0.6803 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5234, allocations: 0 / 0.6803 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.696e-05/0.5235, allocations: 20 kB / 0.6803 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.5235, allocations: 16 kB / 0.6803 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007755/0.5243, allocations: 433.1 kB / 0.6807 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002985/0.5273, allocations: 2.095 MB / 0.6828 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.5281, allocations: 432.3 kB / 0.6832 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.5284, allocations: 221.2 kB / 0.6834 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.5285, allocations: 8.438 kB / 0.6834 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.5289, allocations: 257.3 kB / 0.6836 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.144e-06/0.5289, allocations: 0 / 0.6836 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.0007888/0.5297, allocations: 427.5 kB / 0.684 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.5298, allocations: 158.7 kB / 0.6842 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.5303, allocations: 396 kB / 0.6846 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.5304, allocations: 34.64 kB / 0.6846 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.5306, allocations: 329.1 kB / 0.6849 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.5308, allocations: 169.5 kB / 0.6851 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.5308, allocations: 8 kB / 0.6851 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.531, allocations: 370.7 kB / 0.6854 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.5312, allocations: 157.1 kB / 0.6856 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.5316, allocations: 259.5 kB / 0.6858 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.532, allocations: 205 kB / 0.686 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.532, allocations: 3.984 kB / 0.686 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008478/0.5328, allocations: 0.535 MB / 0.6866 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5329, allocations: 36.05 kB / 0.6866 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5329, allocations: 0 / 0.6866 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5329, allocations: 4 kB / 0.6866 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.5334, allocations: 119.9 kB / 0.6867 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.5335, allocations: 12.12 kB / 0.6867 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.5339, allocations: 79.58 kB / 0.6868 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.534, allocations: 23.98 kB / 0.6868 GB, free: 6.379 MB / 0.4948 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.0001478/0.5341, allocations: 136.9 kB / 0.687 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.5342, allocations: 59.25 kB / 0.687 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001497/0.5343, allocations: 73.3 kB / 0.6871 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5344, allocations: 8 kB / 0.6871 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.5344, allocations: 0 / 0.6871 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.5344, allocations: 0 / 0.6871 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.536, allocations: 1.228 MB / 0.6883 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5361, allocations: 0 / 0.6883 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/0.5366, allocations: 103.9 kB / 0.6884 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5366, allocations: 4 kB / 0.6884 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5366, allocations: 12 kB / 0.6884 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5366, allocations: 0 / 0.6884 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5367, allocations: 0 / 0.6884 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.5377, allocations: 0.7563 MB / 0.6891 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.5379, allocations: 180.3 kB / 0.6893 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.538, allocations: 12 kB / 0.6893 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/0.5384, allocations: 55.95 kB / 0.6894 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.5385, allocations: 32.39 kB / 0.6894 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.5385, allocations: 16.64 kB / 0.6894 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003403/0.5389, allocations: 309.6 kB / 0.6897 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5389, allocations: 0 / 0.6897 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004462/0.5393, allocations: 155.5 kB / 0.6899 GB, free: 3.168 MB / 0.4948 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.001413/0.5408, allocations: 1.322 MB / 0.6912 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007102/0.5415, allocations: 461.2 kB / 0.6916 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5415, allocations: 0 / 0.6916 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.5418, allocations: 212.5 kB / 0.6918 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006438/0.5425, allocations: 134.1 kB / 0.6919 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.5454, allocations: 1.379 MB / 0.6933 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.5459, allocations: 0.9059 MB / 0.6942 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.5461, allocations: 68.53 kB / 0.6942 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.5464, allocations: 221.6 kB / 0.6944 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/0.5465, allocations: 0 / 0.6944 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.5713, allocations: 11.48 MB / 0.7057 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.5715, allocations: 150.5 kB / 0.7058 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.772, allocations: 4.062 kB / 0.7058 GB, free: 2.906 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)