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.001294/0.001294, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5025/0.5025, allocations: 91.98 MB / 108.5 MB, free: 13.1 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.317/1.317, allocations: 223.1 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008933, allocations: 100.2 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 15.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6683, allocations: 108.1 MB / 0.6745 GB, free: 12.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.6686, allocations: 79.95 kB / 0.6746 GB, free: 12.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03084/0.6994, allocations: 12.38 MB / 0.6867 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.539e-06/0.6995, allocations: 4 kB / 0.6867 GB, free: 15.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.534e-05/0.6996, allocations: 16 kB / 0.6867 GB, free: 15.77 MB / 490.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.002227/0.7018, allocations: 0.9583 MB / 0.6877 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.7019, allocations: 8.031 kB / 0.6877 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/0.7021, allocations: 98.52 kB / 0.6878 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002669/0.7024, allocations: 90.91 kB / 0.6878 GB, free: 14.54 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.7035, allocations: 0.5251 MB / 0.6884 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.7035, allocations: 41.31 kB / 0.6884 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.7037, allocations: 71.89 kB / 0.6885 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.705, allocations: 0.6522 MB / 0.6891 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.705, allocations: 7.875 kB / 0.6891 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.075e-05/0.7051, allocations: 28 kB / 0.6891 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.7051, allocations: 12 kB / 0.6891 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.7063, allocations: 0.5127 MB / 0.6896 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.7099, allocations: 2.099 MB / 0.6917 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.711, allocations: 0.5354 MB / 0.6922 GB, free: 9.914 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.711, allocations: 4.438 kB / 0.6922 GB, free: 9.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000666/0.7117, allocations: 297.3 kB / 0.6925 GB, free: 9.605 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/0.7117, allocations: 0 / 0.6925 GB, free: 9.605 MB / 490.7 MB Notification: Performance of matching and sorting (n=50): time 0.0016/0.7133, allocations: 0.7015 MB / 0.6932 GB, free: 8.902 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.7134, allocations: 166.6 kB / 0.6933 GB, free: 8.703 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.714, allocations: 393.2 kB / 0.6937 GB, free: 8.312 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.551e-05/0.714, allocations: 37.7 kB / 0.6938 GB, free: 8.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.7143, allocations: 321.1 kB / 0.6941 GB, free: 7.953 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.7145, allocations: 165.6 kB / 0.6942 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.7145, allocations: 12 kB / 0.6942 GB, free: 7.777 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7147, allocations: 378.7 kB / 0.6946 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.7151, allocations: 201 kB / 0.6948 GB, free: 7.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.7156, allocations: 307.5 kB / 0.6951 GB, free: 6.871 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.7162, allocations: 259.8 kB / 0.6953 GB, free: 6.613 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7162, allocations: 3.938 kB / 0.6953 GB, free: 6.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001162/0.7173, allocations: 0.6209 MB / 0.6959 GB, free: 5.977 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.7174, allocations: 33.7 kB / 0.696 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7174, allocations: 4.188 kB / 0.696 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.7174, allocations: 4 kB / 0.696 GB, free: 5.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.7179, allocations: 123.8 kB / 0.6961 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.718, allocations: 7.984 kB / 0.6961 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.7184, allocations: 87.55 kB / 0.6962 GB, free: 5.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.7185, allocations: 16 kB / 0.6962 GB, free: 5.699 MB / 490.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 () * Number of clocked 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.0003059/0.7188, allocations: 213.7 kB / 0.6964 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.7189, allocations: 55.34 kB / 0.6965 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.7191, allocations: 69.59 kB / 0.6965 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.7191, allocations: 7.984 kB / 0.6965 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7191, allocations: 0 / 0.6965 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7191, allocations: 0 / 0.6965 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.7211, allocations: 1.314 MB / 0.6978 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.7212, allocations: 4 kB / 0.6978 GB, free: 3.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.7217, allocations: 115.8 kB / 0.6979 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.7217, allocations: 4 kB / 0.6979 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.7217, allocations: 8 kB / 0.6979 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7218, allocations: 4 kB / 0.6979 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7218, allocations: 3.938 kB / 0.698 GB, free: 3.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.7233, allocations: 0.889 MB / 0.6988 GB, free: 2.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.7236, allocations: 184.3 kB / 0.699 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.7237, allocations: 16 kB / 0.699 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.7241, allocations: 47.95 kB / 0.6991 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.7242, allocations: 36.39 kB / 0.6991 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.7243, allocations: 19.92 kB / 0.6991 GB, free: 2.621 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003815/0.7246, allocations: 318.9 kB / 0.6994 GB, free: 2.312 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.7246, allocations: 0 / 0.6994 GB, free: 2.312 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.7252, allocations: 151.5 kB / 0.6996 GB, free: 2.164 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) * Number of clocked states: 0 () * 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.001835/0.727, allocations: 1.458 MB / 0.701 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.7281, allocations: 0.5482 MB / 0.7015 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7281, allocations: 0 / 0.7015 GB, free: 116 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.7286, allocations: 262.4 kB / 0.7018 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.7293, allocations: 133.8 kB / 0.7019 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/0.7366, allocations: 4.833 MB / 0.7066 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.7371, allocations: 0.9019 MB / 0.7075 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003399/0.7375, allocations: 60.55 kB / 0.7076 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.7378, allocations: 219.4 kB / 0.7078 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of SimCode: time 5.971e-06/0.7378, allocations: 0 / 0.7078 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.279/1.017, allocations: 11.52 MB / 0.719 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/1.017, allocations: 186.1 kB / 0.7192 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.358, allocations: 2.812 kB / 0.7192 GB, free: 14.05 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)