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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001717/0.001717, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.019/1.019, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 59.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1959, allocations: 82.05 MB / 0.5944 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00479/0.2008, allocations: 3.129 MB / 0.5974 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2027, allocations: 0.9623 MB / 0.5984 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00043/0.2032, allocations: 11.94 kB / 0.5984 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.2035, allocations: 75.19 kB / 0.5985 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.2039, allocations: 91.11 kB / 0.5986 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.2045, allocations: 245.8 kB / 0.5988 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.2052, allocations: 0.5427 MB / 0.5993 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.2056, allocations: 251.5 kB / 0.5996 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.206, allocations: 207 kB / 0.5998 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.2063, allocations: 210.9 kB / 0.6 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.2064, allocations: 56 kB / 0.6 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.2065, allocations: 52 kB / 0.6001 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.418e-05/0.2066, allocations: 103.6 kB / 0.6002 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002177/0.2068, allocations: 242.7 kB / 0.6004 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.2073, allocations: 0.592 MB / 0.601 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2074, allocations: 0 / 0.601 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2074, allocations: 0 / 0.601 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.2074, allocations: 0 / 0.601 GB, free: 2.68 MB / 0.4981 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.001325/0.2087, allocations: 0.7737 MB / 0.6017 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2088, allocations: 8.031 kB / 0.6017 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.937e-05/0.2089, allocations: 74.72 kB / 0.6018 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.209, allocations: 56.28 kB / 0.6019 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.2096, allocations: 412.6 kB / 0.6023 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.2096, allocations: 33.38 kB / 0.6023 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.2097, allocations: 36.38 kB / 0.6023 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.2103, allocations: 397.7 kB / 0.6027 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2104, allocations: 0 / 0.6027 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.2104, allocations: 16 kB / 0.6027 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2104, allocations: 12 kB / 0.6027 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.211, allocations: 263.8 kB / 0.603 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2887/0.4997, allocations: 1.31 MB / 0.6043 GB, free: 43.08 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006776/0.5004, allocations: 317.7 kB / 0.6046 GB, free: 43.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.5006, allocations: 138.6 kB / 0.6047 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.5007, allocations: 10.8 kB / 0.6047 GB, free: 43.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004145/0.5011, allocations: 172.3 kB / 0.6049 GB, free: 43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 3.446e-06/0.5011, allocations: 0 / 0.6049 GB, free: 43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007857/0.5019, allocations: 388.6 kB / 0.6052 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.502, allocations: 84.05 kB / 0.6053 GB, free: 42.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.5023, allocations: 353.3 kB / 0.6057 GB, free: 42.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.5024, allocations: 37.2 kB / 0.6057 GB, free: 42.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5025, allocations: 225 kB / 0.6059 GB, free: 42.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.5026, allocations: 108 kB / 0.606 GB, free: 42.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5027, allocations: 74.36 kB / 0.6061 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.5028, allocations: 348.9 kB / 0.6064 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.503, allocations: 100.5 kB / 0.6065 GB, free: 42.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.5032, allocations: 166.1 kB / 0.6067 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.5036, allocations: 260.7 kB / 0.6069 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5037, allocations: 6.562 kB / 0.6069 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005226/0.5042, allocations: 349.5 kB / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5042, allocations: 5.844 kB / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5042, allocations: 0 / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5043, allocations: 5.688 kB / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.5045, allocations: 61.58 kB / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5045, allocations: 12.7 kB / 0.6073 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.5047, allocations: 37.17 kB / 0.6074 GB, free: 42.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.5048, allocations: 12.75 kB / 0.6074 GB, free: 42.02 MB / 0.4981 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.000152/0.5049, allocations: 176.1 kB / 0.6076 GB, free: 41.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.505, allocations: 40.91 kB / 0.6076 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.389e-05/0.5051, allocations: 44.56 kB / 0.6076 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.5051, allocations: 3.609 kB / 0.6076 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5051, allocations: 4 kB / 0.6076 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5051, allocations: 4.422 kB / 0.6076 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009135/0.506, allocations: 0.8104 MB / 0.6084 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.506, allocations: 2.875 kB / 0.6084 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.5063, allocations: 43.83 kB / 0.6085 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5063, allocations: 2.906 kB / 0.6085 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.5063, allocations: 13.41 kB / 0.6085 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5063, allocations: 0 / 0.6085 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5063, allocations: 0 / 0.6085 GB, free: 41.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.507, allocations: 0.5204 MB / 0.609 GB, free: 41.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.5071, allocations: 136 kB / 0.6091 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.5072, allocations: 17.3 kB / 0.6092 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.5074, allocations: 14.84 kB / 0.6092 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.5075, allocations: 23.66 kB / 0.6092 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5075, allocations: 16.3 kB / 0.6092 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001914/0.5077, allocations: 242.2 kB / 0.6094 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5077, allocations: 0 / 0.6094 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003298/0.508, allocations: 86.94 kB / 0.6095 GB, free: 41.19 MB / 0.4981 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.0009094/0.5089, allocations: 1.065 MB / 0.6106 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005618/0.5095, allocations: 277.9 kB / 0.6108 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5095, allocations: 0 / 0.6108 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.5098, allocations: 142.2 kB / 0.611 GB, free: 40.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.5103, allocations: 90.14 kB / 0.611 GB, free: 40.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.5145, allocations: 3.486 MB / 0.6144 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5148, allocations: 0.8111 MB / 0.6152 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.515, allocations: 40.66 kB / 0.6153 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.5152, allocations: 136.7 kB / 0.6154 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of SimCode: time 6.12e-07/0.5152, allocations: 0 / 0.6154 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.5519, allocations: 7.349 MB / 0.6226 GB, free: 36.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.32, allocations: 14.78 kB / 0.6226 GB, free: 36.8 MB / 0.4981 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)