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.0009444/0.0009443, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4793/0.4793, allocations: 90.91 MB / 99.34 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008773, allocations: 87.91 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.385e-05/1.386e-05, allocations: 0 / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5622, allocations: 107.4 MB / 0.6585 GB, free: 2.902 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5625, allocations: 75.59 kB / 0.6586 GB, free: 2.867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03104/0.5936, allocations: 12.26 MB / 0.6706 GB, free: 8.789 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5936, allocations: 0 / 0.6706 GB, free: 8.789 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.883e-05/0.5937, allocations: 16 kB / 0.6706 GB, free: 8.773 MB / 474.7 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.001322/0.595, allocations: 0.8697 MB / 0.6714 GB, free: 7.898 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.595, allocations: 12.03 kB / 0.6714 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.5952, allocations: 82.97 kB / 0.6715 GB, free: 7.805 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/0.5959, allocations: 0.5256 MB / 0.672 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.5959, allocations: 20 kB / 0.672 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.663e-05/0.596, allocations: 39.86 kB / 0.6721 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000683/0.5967, allocations: 399.8 kB / 0.6725 GB, free: 7.066 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.5975, allocations: 0.524 MB / 0.673 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5975, allocations: 3.188 kB / 0.673 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.5976, allocations: 0 / 0.673 GB, free: 6.656 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.5976, allocations: 16 kB / 0.673 GB, free: 6.641 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.6002, allocations: 1.975 MB / 0.6749 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.6008, allocations: 422.5 kB / 0.6753 GB, free: 4.875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.6011, allocations: 201.2 kB / 0.6755 GB, free: 4.762 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.6012, allocations: 4.438 kB / 0.6755 GB, free: 4.758 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.6015, allocations: 235.2 kB / 0.6757 GB, free: 4.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 1.953e-06/0.6016, allocations: 0 / 0.6757 GB, free: 4.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=50): time 0.0006195/0.6022, allocations: 404.2 kB / 0.6761 GB, free: 4.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.6023, allocations: 162.7 kB / 0.6763 GB, free: 4.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.6026, allocations: 356.2 kB / 0.6766 GB, free: 3.824 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.6027, allocations: 29.69 kB / 0.6766 GB, free: 3.789 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.6029, allocations: 308.1 kB / 0.6769 GB, free: 3.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.603, allocations: 167.9 kB / 0.6771 GB, free: 3.426 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.603, allocations: 0 / 0.6771 GB, free: 3.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6032, allocations: 369.5 kB / 0.6775 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.6034, allocations: 145.9 kB / 0.6776 GB, free: 3.004 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.6037, allocations: 238 kB / 0.6778 GB, free: 2.812 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.6039, allocations: 177.9 kB / 0.678 GB, free: 2.715 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6039, allocations: 0 / 0.678 GB, free: 2.715 MB / 474.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006873/0.6046, allocations: 467 kB / 0.6784 GB, free: 2.375 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.6047, allocations: 33.7 kB / 0.6785 GB, free: 2.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.6047, allocations: 8 kB / 0.6785 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.6047, allocations: 4 kB / 0.6785 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.6052, allocations: 115.5 kB / 0.6786 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.6052, allocations: 7.938 kB / 0.6786 GB, free: 2.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004112/0.6056, allocations: 79.48 kB / 0.6787 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.6057, allocations: 19.55 kB / 0.6787 GB, free: 2.117 MB / 474.7 MB 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.0001265/0.6058, allocations: 112.9 kB / 0.6788 GB, free: 2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005458/0.6064, allocations: 403.7 kB / 0.6792 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.6065, allocations: 59.34 kB / 0.6792 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.6066, allocations: 54.58 kB / 0.6793 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6066, allocations: 7.938 kB / 0.6793 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6066, allocations: 0 / 0.6793 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6066, allocations: 3.984 kB / 0.6793 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.608, allocations: 1.11 MB / 0.6804 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.608, allocations: 3.938 kB / 0.6804 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.6085, allocations: 111.2 kB / 0.6805 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.6086, allocations: 0 / 0.6805 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.6086, allocations: 4 kB / 0.6805 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6086, allocations: 0 / 0.6805 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6086, allocations: 0 / 0.6805 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000912/0.6095, allocations: 0.7159 MB / 0.6812 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.6097, allocations: 176.6 kB / 0.6814 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.6098, allocations: 11.55 kB / 0.6814 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.6102, allocations: 35.97 kB / 0.6814 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.688e-05/0.6103, allocations: 39.81 kB / 0.6815 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.6103, allocations: 15.69 kB / 0.6815 GB, free: 15.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.6106, allocations: 270.9 kB / 0.6817 GB, free: 15.73 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6106, allocations: 3.938 kB / 0.6817 GB, free: 15.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004647/0.611, allocations: 139.4 kB / 0.6819 GB, free: 15.59 MB / 490.7 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.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.001271/0.6123, allocations: 1.269 MB / 0.6831 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.6131, allocations: 439.2 kB / 0.6835 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6131, allocations: 0 / 0.6835 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.6134, allocations: 195.7 kB / 0.6837 GB, free: 14.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.6141, allocations: 127.7 kB / 0.6838 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.617, allocations: 1.331 MB / 0.6851 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.6175, allocations: 0.9056 MB / 0.686 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.6177, allocations: 68.34 kB / 0.6861 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.618, allocations: 219.2 kB / 0.6863 GB, free: 11.68 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.618, allocations: 0 / 0.6863 GB, free: 11.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0308/0.6488, allocations: 10.35 MB / 0.6964 GB, free: 1.422 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.6491, allocations: 143.4 kB / 0.6965 GB, free: 1.223 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.696, allocations: 0 / 0.6965 GB, free: 1.223 MB / 490.7 MB (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)