Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.001331/0.001331, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001457/0.001457, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9.004 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.9151/0.9151, allocations: 145 MB / 453.8 MB, free: 0.7188 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.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",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.001946/0.001946, allocations: 65.64 kB / 0.628 GB, free: 10.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1884, allocations: 87.82 MB / 0.7138 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006195/0.1946, allocations: 4.139 MB / 0.7178 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1974, allocations: 1.356 MB / 0.7191 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.1978, allocations: 27.81 kB / 0.7192 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.1982, allocations: 134.7 kB / 0.7193 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.1986, allocations: 178.4 kB / 0.7195 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.1995, allocations: 414.4 kB / 0.7198 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2006, allocations: 0.9593 MB / 0.7208 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.2011, allocations: 310.2 kB / 0.7211 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.2015, allocations: 346.7 kB / 0.7214 GB, free: 11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.2019, allocations: 334.4 kB / 0.7217 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.202, allocations: 88 kB / 0.7218 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2021, allocations: 92 kB / 0.7219 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.2023, allocations: 179.4 kB / 0.7221 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.2027, allocations: 386.1 kB / 0.7224 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2039, allocations: 1.117 MB / 0.7235 GB, free: 8.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2039, allocations: 4 kB / 0.7235 GB, free: 8.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2039, allocations: 4 kB / 0.7235 GB, free: 8.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.2039, allocations: 0 / 0.7235 GB, free: 8.809 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002001/0.2059, allocations: 1.096 MB / 0.7246 GB, free: 7.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2059, allocations: 12.03 kB / 0.7246 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.2061, allocations: 98.7 kB / 0.7247 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.2062, allocations: 100.4 kB / 0.7248 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009931/0.2072, allocations: 0.5499 MB / 0.7253 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.2073, allocations: 45.69 kB / 0.7254 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2074, allocations: 72.31 kB / 0.7255 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.2086, allocations: 0.5998 MB / 0.726 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2086, allocations: 4 kB / 0.726 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.2086, allocations: 24 kB / 0.7261 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.2087, allocations: 16 kB / 0.7261 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.2097, allocations: 461 kB / 0.7265 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.2129, allocations: 1.997 MB / 0.7285 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.2139, allocations: 419.7 kB / 0.7289 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2144, allocations: 234 kB / 0.7291 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.2144, allocations: 4.438 kB / 0.7291 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006/0.215, allocations: 265.2 kB / 0.7294 GB, free: 2.625 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.475e-06/0.215, allocations: 0 / 0.7294 GB, free: 2.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001433/0.2165, allocations: 0.5847 MB / 0.7299 GB, free: 2.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.2165, allocations: 67.78 kB / 0.73 GB, free: 1.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/0.2171, allocations: 442.7 kB / 0.7304 GB, free: 1.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.2171, allocations: 37.7 kB / 0.7305 GB, free: 1.473 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.2174, allocations: 324.9 kB / 0.7308 GB, free: 1.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2175, allocations: 186.4 kB / 0.7309 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2177, allocations: 98.2 kB / 0.731 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2179, allocations: 366.8 kB / 0.7314 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.2183, allocations: 165 kB / 0.7315 GB, free: 344 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2188, allocations: 249.8 kB / 0.7318 GB, free: 64 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/0.2197, allocations: 452 kB / 0.7322 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2197, allocations: 0 / 0.7322 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001107/0.2208, allocations: 0.5704 MB / 0.7328 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.2208, allocations: 29.7 kB / 0.7328 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2208, allocations: 4 kB / 0.7328 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2208, allocations: 4 kB / 0.7328 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.2214, allocations: 119.8 kB / 0.7329 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.2214, allocations: 4 kB / 0.7329 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.2217, allocations: 55.95 kB / 0.733 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2217, allocations: 20 kB / 0.733 GB, free: 14.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000291/0.222, allocations: 211.2 kB / 0.7332 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/0.2221, allocations: 63.56 kB / 0.7333 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2223, allocations: 65.58 kB / 0.7333 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2223, allocations: 4 kB / 0.7333 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2223, allocations: 0 / 0.7333 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2223, allocations: 7.984 kB / 0.7333 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.2242, allocations: 1.174 MB / 0.7345 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2242, allocations: 4 kB / 0.7345 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.2247, allocations: 87.89 kB / 0.7346 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.2247, allocations: 3.984 kB / 0.7346 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2247, allocations: 16 kB / 0.7346 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2247, allocations: 0 / 0.7346 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2247, allocations: 0 / 0.7346 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2262, allocations: 0.7654 MB / 0.7353 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.2264, allocations: 180.6 kB / 0.7355 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.2264, allocations: 8 kB / 0.7355 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.2267, allocations: 23.97 kB / 0.7355 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2268, allocations: 36.39 kB / 0.7356 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.2268, allocations: 11.98 kB / 0.7356 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003653/0.2272, allocations: 310.8 kB / 0.7359 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2272, allocations: 3.938 kB / 0.7359 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004737/0.2277, allocations: 147.6 kB / 0.736 GB, free: 11.57 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001766/0.2294, allocations: 1.325 MB / 0.7373 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009876/0.2304, allocations: 453.1 kB / 0.7377 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2304, allocations: 0 / 0.7377 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004323/0.2309, allocations: 206.8 kB / 0.7379 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007816/0.2316, allocations: 167.4 kB / 0.7381 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.2394, allocations: 4.806 MB / 0.7428 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.2399, allocations: 0.8938 MB / 0.7437 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.2402, allocations: 68.58 kB / 0.7437 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.2405, allocations: 219.4 kB / 0.7439 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.2406, allocations: 4 kB / 0.7439 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4357/0.6763, allocations: 11.41 MB / 0.7551 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.389, allocations: 4 kB / 0.7551 GB, free: 31.21 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.649853365990566] Failed to read output from testmodel.py, exit status != 0: 9.4669191740104 9.489255597 9.281158628 Calling exit ...