Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00502/0.00502, allocations: 97.84 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 197.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.116/1.116, allocations: 143.3 MB / 433.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 72.08 kB / 0.5953 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.4779, allocations: 82.02 MB / 0.6754 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004449/0.4824, allocations: 3.123 MB / 0.6784 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.4846, allocations: 0.967 MB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003171/0.4849, allocations: 13.66 kB / 0.6794 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.4852, allocations: 74.81 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.4855, allocations: 91.98 kB / 0.6796 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.4861, allocations: 241.3 kB / 0.6798 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006526/0.4868, allocations: 0.55 MB / 0.6803 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.4872, allocations: 253.4 kB / 0.6806 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.4875, allocations: 207.8 kB / 0.6808 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.4878, allocations: 206.1 kB / 0.681 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.4879, allocations: 51.62 kB / 0.681 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.488, allocations: 52.31 kB / 0.6811 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4881, allocations: 111.7 kB / 0.6812 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.4884, allocations: 237.5 kB / 0.6814 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.4891, allocations: 0.6183 MB / 0.682 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4891, allocations: 3.984 kB / 0.682 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4892, allocations: 0 / 0.682 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.4892, allocations: 1.094 kB / 0.682 GB, free: 11.8 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00129/0.4905, allocations: 0.7866 MB / 0.6828 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4905, allocations: 9.281 kB / 0.6828 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.505e-05/0.4906, allocations: 74.09 kB / 0.6829 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.4907, allocations: 64.62 kB / 0.6829 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.4915, allocations: 408 kB / 0.6833 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.4916, allocations: 33.28 kB / 0.6833 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.4916, allocations: 38.06 kB / 0.6834 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.4924, allocations: 402.4 kB / 0.6838 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4924, allocations: 0 / 0.6838 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.4925, allocations: 12.12 kB / 0.6838 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4925, allocations: 13.62 kB / 0.6838 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.493, allocations: 262.6 kB / 0.684 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.4949, allocations: 1.309 MB / 0.6853 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.4957, allocations: 322.1 kB / 0.6856 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.496, allocations: 143 kB / 0.6857 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.496, allocations: 3.078 kB / 0.6858 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.4964, allocations: 178.2 kB / 0.6859 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.4964, allocations: 0 / 0.6859 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0009208/0.4974, allocations: 386.7 kB / 0.6863 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4975, allocations: 85.36 kB / 0.6864 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.498, allocations: 359 kB / 0.6867 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.498, allocations: 37.36 kB / 0.6868 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.4983, allocations: 236.5 kB / 0.687 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4984, allocations: 112.9 kB / 0.6871 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.4986, allocations: 69.56 kB / 0.6872 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.4988, allocations: 351.2 kB / 0.6875 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.4991, allocations: 96.48 kB / 0.6876 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.4994, allocations: 167.8 kB / 0.6877 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.4999, allocations: 263.1 kB / 0.688 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4999, allocations: 4.938 kB / 0.688 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006919/0.5006, allocations: 349.4 kB / 0.6883 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5006, allocations: 7.812 kB / 0.6883 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5006, allocations: 2.562 kB / 0.6883 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5007, allocations: 2.75 kB / 0.6883 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.501, allocations: 65.31 kB / 0.6884 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.501, allocations: 7.094 kB / 0.6884 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002041/0.5012, allocations: 40.59 kB / 0.6884 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.5012, allocations: 17.3 kB / 0.6885 GB, free: 6.855 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.5015, allocations: 176 kB / 0.6886 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.5015, allocations: 38.8 kB / 0.6887 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.5017, allocations: 45.34 kB / 0.6887 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5017, allocations: 2.594 kB / 0.6887 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5017, allocations: 5.25 kB / 0.6887 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5017, allocations: 3.984 kB / 0.6887 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.503, allocations: 0.808 MB / 0.6895 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.503, allocations: 0 / 0.6895 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.5033, allocations: 52.44 kB / 0.6896 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.5033, allocations: 1.25 kB / 0.6896 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.5033, allocations: 6.344 kB / 0.6896 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5033, allocations: 5.125 kB / 0.6896 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5033, allocations: 5.203 kB / 0.6896 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.5043, allocations: 0.5209 MB / 0.6901 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.5045, allocations: 137.3 kB / 0.6902 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.5045, allocations: 10.69 kB / 0.6902 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.5047, allocations: 16.48 kB / 0.6902 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.5048, allocations: 27.06 kB / 0.6903 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.5048, allocations: 9.609 kB / 0.6903 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003075/0.5052, allocations: 244.6 kB / 0.6905 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5052, allocations: 4.062 kB / 0.6905 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003814/0.5056, allocations: 89.86 kB / 0.6906 GB, free: 5.281 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.5068, allocations: 1.074 MB / 0.6917 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.5074, allocations: 263.4 kB / 0.6919 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5074, allocations: 0 / 0.6919 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.5077, allocations: 143.6 kB / 0.692 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.5083, allocations: 84.05 kB / 0.6921 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.5135, allocations: 3.443 MB / 0.6955 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.514, allocations: 0.8113 MB / 0.6963 GB, free: 192 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001972/0.5142, allocations: 43.27 kB / 0.6963 GB, free: 148 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.5144, allocations: 139.4 kB / 0.6964 GB, free: 12 kB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5145, allocations: 4 kB / 0.6965 GB, free: 8 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.5484, allocations: 7.442 MB / 0.7037 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.504/9.053, allocations: 18.3 kB / 0.7037 GB, free: 8.738 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildSysPro_BuildSysPro_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)