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.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001596/0.001596, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.789 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.9713/0.9713, allocations: 145 MB / 457.4 MB, free: 15.29 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.002961/0.002961, allocations: 70.33 kB / 0.6331 GB, free: 6.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2153, allocations: 87.88 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004909/0.2202, allocations: 2.952 MB / 0.7218 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2221, allocations: 0.9934 MB / 0.7228 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.2224, allocations: 15.88 kB / 0.7228 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2226, allocations: 71.25 kB / 0.7228 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.2228, allocations: 99.12 kB / 0.7229 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.2234, allocations: 255 kB / 0.7232 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.224, allocations: 0.5505 MB / 0.7237 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.2243, allocations: 171.9 kB / 0.7239 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.2247, allocations: 223 kB / 0.7241 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.2249, allocations: 186.8 kB / 0.7243 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.225, allocations: 52 kB / 0.7243 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.2251, allocations: 56 kB / 0.7244 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2252, allocations: 115.6 kB / 0.7245 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.2253, allocations: 187 kB / 0.7247 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000705/0.2261, allocations: 0.6263 MB / 0.7253 GB, free: 8.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2261, allocations: 0 / 0.7253 GB, free: 8.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2261, allocations: 3.938 kB / 0.7253 GB, free: 8.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2261, allocations: 0 / 0.7253 GB, free: 8.285 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.001226/0.2273, allocations: 0.7175 MB / 0.726 GB, free: 7.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2273, allocations: 8.031 kB / 0.726 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.018e-05/0.2274, allocations: 70.72 kB / 0.726 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2276, allocations: 68.59 kB / 0.7261 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.2283, allocations: 365.7 kB / 0.7265 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.2283, allocations: 29.38 kB / 0.7265 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.2284, allocations: 36.38 kB / 0.7265 GB, free: 6.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.2291, allocations: 461.1 kB / 0.727 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2291, allocations: 0 / 0.727 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.2291, allocations: 12 kB / 0.727 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2292, allocations: 8 kB / 0.727 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.2297, allocations: 263.8 kB / 0.7272 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.2315, allocations: 1.123 MB / 0.7283 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.2321, allocations: 305.2 kB / 0.7286 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.2324, allocations: 120.8 kB / 0.7287 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2324, allocations: 4 kB / 0.7287 GB, free: 4.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003504/0.2328, allocations: 174.1 kB / 0.7289 GB, free: 4.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.2328, allocations: 4 kB / 0.7289 GB, free: 4.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008213/0.2336, allocations: 390.8 kB / 0.7293 GB, free: 3.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.2337, allocations: 85.05 kB / 0.7294 GB, free: 3.891 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.2341, allocations: 357.6 kB / 0.7297 GB, free: 3.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.2342, allocations: 37.7 kB / 0.7297 GB, free: 3.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.2343, allocations: 233.3 kB / 0.73 GB, free: 3.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-05/0.2344, allocations: 111.1 kB / 0.7301 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2346, allocations: 70.06 kB / 0.7301 GB, free: 3.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2347, allocations: 354.7 kB / 0.7305 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.235, allocations: 104.7 kB / 0.7306 GB, free: 2.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.2353, allocations: 186.3 kB / 0.7308 GB, free: 2.406 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004875/0.2357, allocations: 259.8 kB / 0.731 GB, free: 2.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.2357, allocations: 11.97 kB / 0.731 GB, free: 2.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006426/0.2364, allocations: 346.7 kB / 0.7313 GB, free: 1.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2364, allocations: 8 kB / 0.7314 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2364, allocations: 0 / 0.7314 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2364, allocations: 4 kB / 0.7314 GB, free: 1.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.2367, allocations: 64.09 kB / 0.7314 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2367, allocations: 8 kB / 0.7314 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.2369, allocations: 35.77 kB / 0.7315 GB, free: 1.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2369, allocations: 19.94 kB / 0.7315 GB, free: 1.641 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.0002062/0.2371, allocations: 182.3 kB / 0.7317 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.2372, allocations: 39.77 kB / 0.7317 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.2373, allocations: 48.19 kB / 0.7317 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.2373, allocations: 4 kB / 0.7317 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/0.2373, allocations: 0 / 0.7317 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2373, allocations: 7.984 kB / 0.7317 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.2384, allocations: 0.741 MB / 0.7325 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2384, allocations: 0 / 0.7325 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.2387, allocations: 43.97 kB / 0.7325 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2387, allocations: 4 kB / 0.7325 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2387, allocations: 11.94 kB / 0.7325 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2387, allocations: 3.984 kB / 0.7325 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2387, allocations: 0 / 0.7325 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.2396, allocations: 0.5284 MB / 0.733 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2397, allocations: 55.7 kB / 0.7331 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.2397, allocations: 8 kB / 0.7331 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2399, allocations: 15.98 kB / 0.7331 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.24, allocations: 27.95 kB / 0.7331 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.24, allocations: 11.98 kB / 0.7332 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002551/0.2403, allocations: 243.1 kB / 0.7334 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2403, allocations: 0 / 0.7334 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003438/0.2406, allocations: 87.91 kB / 0.7335 GB, free: 15.52 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.001206/0.2418, allocations: 1.072 MB / 0.7345 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000558/0.2424, allocations: 249 kB / 0.7348 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2424, allocations: 4 kB / 0.7348 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.2426, allocations: 131.8 kB / 0.7349 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.2432, allocations: 85.23 kB / 0.735 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004899/0.2481, allocations: 3.463 MB / 0.7384 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2483, allocations: 215.8 kB / 0.7386 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.2485, allocations: 43.27 kB / 0.7386 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2487, allocations: 143.4 kB / 0.7387 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.2487, allocations: 0 / 0.7387 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04143/0.2902, allocations: 8.304 MB / 0.7468 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.77, allocations: 6.703 kB / 0.7469 GB, free: 1.879 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.080486643128097] Failed to read output from testmodel.py, exit status != 0: 11.88338332483545 12.216038002 11.986919921 Calling exit ...