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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 107.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9362/0.9362, allocations: 145 MB / 453.8 MB, free: 1.125 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 64.33 kB / 0.628 GB, free: 10.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1932, allocations: 87.83 MB / 0.7138 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00489/0.1981, allocations: 3.182 MB / 0.7169 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.2002, allocations: 1.021 MB / 0.7179 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.2005, allocations: 19.88 kB / 0.7179 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2007, allocations: 75.19 kB / 0.718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.2009, allocations: 95.11 kB / 0.7181 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.2016, allocations: 254.5 kB / 0.7183 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.2022, allocations: 0.5543 MB / 0.7188 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.2025, allocations: 183.7 kB / 0.719 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.2028, allocations: 219.1 kB / 0.7192 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2031, allocations: 206.8 kB / 0.7194 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.858e-05/0.2031, allocations: 52 kB / 0.7195 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2032, allocations: 55.98 kB / 0.7195 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.2033, allocations: 111.6 kB / 0.7196 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.2036, allocations: 238.7 kB / 0.7199 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007313/0.2043, allocations: 0.6185 MB / 0.7205 GB, free: 12.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2043, allocations: 0 / 0.7205 GB, free: 12.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2043, allocations: 0 / 0.7205 GB, free: 12.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2043, allocations: 0 / 0.7205 GB, free: 12.11 MB / 0.545 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.00134/0.2057, allocations: 0.7889 MB / 0.7212 GB, free: 11.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2057, allocations: 12.03 kB / 0.7212 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.2058, allocations: 70.72 kB / 0.7213 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.206, allocations: 64.59 kB / 0.7214 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007296/0.2067, allocations: 424.9 kB / 0.7218 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.2068, allocations: 33.36 kB / 0.7218 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.2068, allocations: 40.36 kB / 0.7219 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.2076, allocations: 397.7 kB / 0.7222 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2076, allocations: 0 / 0.7222 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.2076, allocations: 23.98 kB / 0.7223 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2076, allocations: 8 kB / 0.7223 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.2082, allocations: 263.8 kB / 0.7225 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.2101, allocations: 1.305 MB / 0.7238 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.2109, allocations: 306.4 kB / 0.7241 GB, free: 8.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.2111, allocations: 124.8 kB / 0.7242 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.2112, allocations: 8 kB / 0.7242 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003716/0.2115, allocations: 173.5 kB / 0.7244 GB, free: 7.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.2115, allocations: 0 / 0.7244 GB, free: 7.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008724/0.2124, allocations: 387.3 kB / 0.7247 GB, free: 7.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.2125, allocations: 85.11 kB / 0.7248 GB, free: 7.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.2129, allocations: 357.6 kB / 0.7252 GB, free: 7.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2129, allocations: 33.7 kB / 0.7252 GB, free: 7.012 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.2131, allocations: 240.7 kB / 0.7254 GB, free: 6.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.2132, allocations: 107.1 kB / 0.7255 GB, free: 6.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2133, allocations: 74.03 kB / 0.7256 GB, free: 6.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2135, allocations: 350.8 kB / 0.7259 GB, free: 6.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.2137, allocations: 100.7 kB / 0.726 GB, free: 6.137 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.214, allocations: 172.4 kB / 0.7262 GB, free: 5.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.2145, allocations: 255.8 kB / 0.7264 GB, free: 5.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2145, allocations: 7.938 kB / 0.7264 GB, free: 5.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006686/0.2152, allocations: 350.8 kB / 0.7268 GB, free: 5.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2152, allocations: 8 kB / 0.7268 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2152, allocations: 0 / 0.7268 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.2153, allocations: 4 kB / 0.7268 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.2155, allocations: 63.91 kB / 0.7268 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2156, allocations: 7.938 kB / 0.7269 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2158, allocations: 43.72 kB / 0.7269 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.2158, allocations: 12 kB / 0.7269 GB, free: 5.18 MB / 0.545 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.0002203/0.216, allocations: 186.2 kB / 0.7271 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.2161, allocations: 39.77 kB / 0.7271 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.2162, allocations: 40.25 kB / 0.7272 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2162, allocations: 4 kB / 0.7272 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2162, allocations: 0 / 0.7272 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2162, allocations: 0 / 0.7272 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.2175, allocations: 0.8187 MB / 0.728 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2175, allocations: 0 / 0.728 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.2177, allocations: 47.91 kB / 0.728 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2177, allocations: 4 kB / 0.728 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2178, allocations: 4 kB / 0.728 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2178, allocations: 0 / 0.728 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2178, allocations: 4 kB / 0.728 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.2187, allocations: 0.5171 MB / 0.7285 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.2189, allocations: 144.8 kB / 0.7287 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.569e-05/0.2189, allocations: 8 kB / 0.7287 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2191, allocations: 19.92 kB / 0.7287 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/0.2192, allocations: 23.97 kB / 0.7287 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2192, allocations: 8 kB / 0.7287 GB, free: 3.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000283/0.2195, allocations: 251.2 kB / 0.729 GB, free: 2.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2195, allocations: 7.938 kB / 0.729 GB, free: 2.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003648/0.2198, allocations: 83.78 kB / 0.7291 GB, free: 2.891 MB / 0.545 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.001239/0.2211, allocations: 1.077 MB / 0.7301 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.2216, allocations: 243.8 kB / 0.7303 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2216, allocations: 0 / 0.7303 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2219, allocations: 128.4 kB / 0.7305 GB, free: 1.426 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.2224, allocations: 86.27 kB / 0.7305 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.2274, allocations: 3.461 MB / 0.7339 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.2279, allocations: 0.8152 MB / 0.7347 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.228, allocations: 43.27 kB / 0.7348 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.2283, allocations: 147.4 kB / 0.7349 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.2283, allocations: 4 kB / 0.7349 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.265, allocations: 7.507 MB / 0.7422 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/8.74, allocations: 11.34 kB / 0.7422 GB, free: 5.402 MB / 0.5606 GB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.82280847200309] Failed to read output from testmodel.py, exit status != 0: 8.813492596993456 9.141301671 8.934363755 Calling exit ...