Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7745/0.7745, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 177.1 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 98.92 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.037e-05, allocations: 2.812 kB / 0.5466 GB, free: 95.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 76.77 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.2543, allocations: 109.2 MB / 0.7283 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.2546, allocations: 79.95 kB / 0.7284 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.03244/0.287, allocations: 13.05 MB / 0.7411 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.413e-06/0.287, allocations: 0 / 0.7411 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.532e-05/0.2871, allocations: 20 kB / 0.7411 GB, free: 484 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.2977/0.5848, allocations: 0.8802 MB / 0.742 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5849, allocations: 9.344 kB / 0.742 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/0.5852, allocations: 89.62 kB / 0.7421 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5863, allocations: 0.5379 MB / 0.7426 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.5864, allocations: 19.22 kB / 0.7426 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5865, allocations: 40.41 kB / 0.7427 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008344/0.5873, allocations: 401.7 kB / 0.743 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.5884, allocations: 0.5274 MB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.5884, allocations: 1.281 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.5885, allocations: 5.531 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.5885, allocations: 14.72 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.5922, allocations: 2.011 MB / 0.7455 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.593, allocations: 415.1 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.5933, allocations: 205.5 kB / 0.7461 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.5934, allocations: 11.17 kB / 0.7461 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004591/0.5938, allocations: 238.8 kB / 0.7464 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 2.354e-06/0.5938, allocations: 3.844 kB / 0.7464 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.0008487/0.5947, allocations: 399.6 kB / 0.7468 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.5948, allocations: 162.2 kB / 0.7469 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.5952, allocations: 348.7 kB / 0.7472 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.5953, allocations: 33.39 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.5955, allocations: 322.5 kB / 0.7476 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5957, allocations: 161.9 kB / 0.7477 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.5957, allocations: 4.031 kB / 0.7477 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5958, allocations: 369.1 kB / 0.7481 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.5961, allocations: 145.3 kB / 0.7482 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.5964, allocations: 249.5 kB / 0.7485 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.5967, allocations: 167.2 kB / 0.7486 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.5968, allocations: 0.7188 kB / 0.7486 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008163/0.5976, allocations: 472.5 kB / 0.7491 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.5977, allocations: 0.6457 MB / 0.7497 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5978, allocations: 4.938 kB / 0.7497 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.5978, allocations: 4.484 kB / 0.7497 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.5984, allocations: 120.2 kB / 0.7498 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5984, allocations: 6.656 kB / 0.7498 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.5989, allocations: 70.05 kB / 0.7499 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.5989, allocations: 24.16 kB / 0.7499 GB, free: 106 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.5989, allocations: 4.344 kB / 0.7499 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006375/0.5996, allocations: 382.1 kB / 0.7503 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5996, allocations: 1.312 kB / 0.7503 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.5996, allocations: 4.438 kB / 0.7503 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.6, allocations: 112.6 kB / 0.7504 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.6001, allocations: 5.062 kB / 0.7504 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.6004, allocations: 54.97 kB / 0.7505 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.6005, allocations: 16.72 kB / 0.7505 GB, free: 105.9 MB / 0.5105 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.0001304/0.6006, allocations: 120.2 kB / 0.7506 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006217/0.6013, allocations: 406 kB / 0.751 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.6013, allocations: 58.02 kB / 0.751 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.6015, allocations: 60.53 kB / 0.7511 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6015, allocations: 6.031 kB / 0.7511 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.6015, allocations: 2.328 kB / 0.7511 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.6015, allocations: 2.766 kB / 0.7511 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.6031, allocations: 1.106 MB / 0.7522 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6031, allocations: 0 / 0.7522 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.6036, allocations: 108 kB / 0.7523 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.6037, allocations: 2.844 kB / 0.7523 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6037, allocations: 8.094 kB / 0.7523 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6037, allocations: 4.016 kB / 0.7523 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6037, allocations: 384 / 0.7523 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.6046, allocations: 0.7195 MB / 0.753 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.6048, allocations: 180.4 kB / 0.7532 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.6049, allocations: 7.062 kB / 0.7532 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.6053, allocations: 46.41 kB / 0.7532 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.6054, allocations: 34.52 kB / 0.7533 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.6054, allocations: 15.22 kB / 0.7533 GB, free: 105 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000277/0.6057, allocations: 269.8 kB / 0.7535 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6057, allocations: 1 kB / 0.7535 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007571/0.6065, allocations: 248.3 kB / 0.7538 GB, free: 104.8 MB / 0.5105 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.001095/0.6076, allocations: 1.282 MB / 0.755 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009744/0.6086, allocations: 0.7181 MB / 0.7557 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6086, allocations: 0 / 0.7557 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.6089, allocations: 197.2 kB / 0.7559 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.6096, allocations: 123.9 kB / 0.756 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.6127, allocations: 1.352 MB / 0.7574 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.6131, allocations: 0.91 MB / 0.7582 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005227/0.6136, allocations: 101.5 kB / 0.7583 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.6139, allocations: 222.6 kB / 0.7586 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.6139, allocations: 4 kB / 0.7586 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.6462, allocations: 11.78 MB / 0.7701 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.6464, allocations: 144.9 kB / 0.7702 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/2.823, allocations: 4.031 kB / 0.7702 GB, free: 99.14 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)