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.001708/0.001708, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002826/0.002826, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.969 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.9054/0.9054, allocations: 145 MB / 457.4 MB, free: 15.5 MB / 366.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.001982/0.001982, allocations: 70.48 kB / 0.6331 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.184, allocations: 87.88 MB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005127/0.1891, allocations: 3.205 MB / 0.7221 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002127/0.1913, allocations: 1.032 MB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.1916, allocations: 19.88 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.1919, allocations: 75.19 kB / 0.7232 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1922, allocations: 99.11 kB / 0.7233 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007691/0.1929, allocations: 262 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.1935, allocations: 0.5505 MB / 0.7241 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.1939, allocations: 179.9 kB / 0.7242 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.1943, allocations: 223.1 kB / 0.7245 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1945, allocations: 206.9 kB / 0.7247 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.907e-05/0.1946, allocations: 56 kB / 0.7247 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.1947, allocations: 56 kB / 0.7248 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.564e-05/0.1948, allocations: 111.6 kB / 0.7249 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.195, allocations: 234.8 kB / 0.7251 GB, free: 9.121 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.1957, allocations: 0.6223 MB / 0.7257 GB, free: 8.496 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.1957, allocations: 4 kB / 0.7257 GB, free: 8.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1957, allocations: 0 / 0.7257 GB, free: 8.492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1957, allocations: 0 / 0.7257 GB, free: 8.492 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.001212/0.1969, allocations: 0.702 MB / 0.7264 GB, free: 7.758 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.197, allocations: 12.03 kB / 0.7264 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.766e-05/0.197, allocations: 74.72 kB / 0.7265 GB, free: 7.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.1972, allocations: 64.59 kB / 0.7265 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.198, allocations: 363 kB / 0.7269 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.198, allocations: 29.38 kB / 0.7269 GB, free: 7.199 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.1981, allocations: 40.31 kB / 0.7269 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006794/0.1987, allocations: 405.8 kB / 0.7273 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.1988, allocations: 0 / 0.7273 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.1988, allocations: 16 kB / 0.7273 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1988, allocations: 8 kB / 0.7274 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.1994, allocations: 267.7 kB / 0.7276 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.2012, allocations: 1.278 MB / 0.7289 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006974/0.2019, allocations: 297.3 kB / 0.7291 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.2021, allocations: 136.8 kB / 0.7293 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.2022, allocations: 4 kB / 0.7293 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003506/0.2025, allocations: 166.7 kB / 0.7294 GB, free: 4.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.592e-06/0.2025, allocations: 0 / 0.7294 GB, free: 4.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008181/0.2034, allocations: 390.7 kB / 0.7298 GB, free: 4.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.2034, allocations: 93.08 kB / 0.7299 GB, free: 3.996 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.2038, allocations: 345.7 kB / 0.7302 GB, free: 3.652 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.2039, allocations: 37.7 kB / 0.7303 GB, free: 3.609 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.2041, allocations: 236.7 kB / 0.7305 GB, free: 3.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.97e-05/0.2042, allocations: 107.1 kB / 0.7306 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2043, allocations: 82.02 kB / 0.7307 GB, free: 3.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2044, allocations: 346.8 kB / 0.731 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.2047, allocations: 100.7 kB / 0.7311 GB, free: 2.734 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.2049, allocations: 164.6 kB / 0.7313 GB, free: 2.547 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.2054, allocations: 259.8 kB / 0.7315 GB, free: 2.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2054, allocations: 7.938 kB / 0.7315 GB, free: 2.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006245/0.206, allocations: 346.8 kB / 0.7318 GB, free: 1.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2061, allocations: 4 kB / 0.7318 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2061, allocations: 4 kB / 0.7318 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2061, allocations: 4 kB / 0.7319 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.2064, allocations: 68.08 kB / 0.7319 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2064, allocations: 11.94 kB / 0.7319 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2066, allocations: 39.72 kB / 0.732 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2066, allocations: 12 kB / 0.732 GB, free: 1.781 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.0002065/0.2068, allocations: 175.6 kB / 0.7321 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.2069, allocations: 35.77 kB / 0.7322 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.704e-05/0.207, allocations: 44.25 kB / 0.7322 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.207, allocations: 7.984 kB / 0.7322 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.207, allocations: 4 kB / 0.7322 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.207, allocations: 4 kB / 0.7322 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.2082, allocations: 0.78 MB / 0.733 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2082, allocations: 0 / 0.733 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2084, allocations: 51.86 kB / 0.733 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2084, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.2085, allocations: 11.98 kB / 0.7331 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2085, allocations: 4 kB / 0.7331 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2085, allocations: 0 / 0.7331 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.2093, allocations: 0.5167 MB / 0.7336 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.2094, allocations: 67.66 kB / 0.7336 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.2095, allocations: 7.938 kB / 0.7336 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.2097, allocations: 20.05 kB / 0.7337 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.2097, allocations: 27.95 kB / 0.7337 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.2098, allocations: 11.98 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000261/0.21, allocations: 247.1 kB / 0.7339 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.21, allocations: 3.938 kB / 0.7339 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003429/0.2104, allocations: 87.78 kB / 0.734 GB, free: 15.62 MB / 0.5606 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.00119/0.2116, allocations: 1.068 MB / 0.7351 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.2121, allocations: 244.7 kB / 0.7353 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2121, allocations: 448 / 0.7353 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.2124, allocations: 135.7 kB / 0.7354 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.2129, allocations: 84.48 kB / 0.7355 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004797/0.2177, allocations: 3.469 MB / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2181, allocations: 0.8113 MB / 0.7397 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.2183, allocations: 47.27 kB / 0.7397 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.2185, allocations: 143.4 kB / 0.7399 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.2185, allocations: 0 / 0.7399 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03737/0.2559, allocations: 7.806 MB / 0.7475 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.96, allocations: 64 / 0.7475 GB, free: 1.836 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.09164704700015] Failed to read output from testmodel.py, exit status != 0: 12.071968342002947 12.370345425 12.171736627 Calling exit ...