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.001291/0.001291, allocations: 110.4 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.001547/0.001547, allocations: 220.3 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.965 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.9388/0.9388, allocations: 145 MB / 457.4 MB, free: 15.48 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.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.001983/0.001983, allocations: 70.34 kB / 0.6331 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 87.88 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006516/0.1783, allocations: 4.153 MB / 0.723 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1814, allocations: 1.367 MB / 0.7244 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000507/0.1819, allocations: 27.81 kB / 0.7244 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.1823, allocations: 130.7 kB / 0.7245 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.1827, allocations: 182.4 kB / 0.7247 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1838, allocations: 445.2 kB / 0.7251 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.185, allocations: 0.9515 MB / 0.726 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.1857, allocations: 302.7 kB / 0.7263 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.1862, allocations: 346.7 kB / 0.7267 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.1866, allocations: 338.4 kB / 0.727 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1867, allocations: 92 kB / 0.7271 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.1869, allocations: 92 kB / 0.7272 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.187, allocations: 175.4 kB / 0.7273 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.1874, allocations: 390.1 kB / 0.7277 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.1886, allocations: 1.121 MB / 0.7288 GB, free: 5.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1886, allocations: 4 kB / 0.7288 GB, free: 5.285 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1886, allocations: 0 / 0.7288 GB, free: 5.285 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.1887, allocations: 0 / 0.7288 GB, free: 5.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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002121/0.1908, allocations: 1.072 MB / 0.7298 GB, free: 4.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1908, allocations: 8.031 kB / 0.7298 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1909, allocations: 98.7 kB / 0.7299 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1911, allocations: 92.38 kB / 0.73 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1922, allocations: 0.5077 MB / 0.7305 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.1922, allocations: 45.69 kB / 0.7306 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/0.1923, allocations: 60.33 kB / 0.7306 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1934, allocations: 0.6154 MB / 0.7312 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.1935, allocations: 0 / 0.7312 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.1935, allocations: 28 kB / 0.7313 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.1935, allocations: 12 kB / 0.7313 GB, free: 2.652 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1946, allocations: 461 kB / 0.7317 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.1977, allocations: 1.947 MB / 0.7336 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009263/0.1986, allocations: 421 kB / 0.734 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.1991, allocations: 226.1 kB / 0.7342 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.1991, allocations: 8.438 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005627/0.1997, allocations: 265.2 kB / 0.7345 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.1997, allocations: 0 / 0.7345 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001345/0.201, allocations: 0.5846 MB / 0.7351 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.2011, allocations: 59.84 kB / 0.7351 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/0.2017, allocations: 446 kB / 0.7355 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.2018, allocations: 33.7 kB / 0.7356 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.2022, allocations: 325.6 kB / 0.7359 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.2024, allocations: 174.5 kB / 0.736 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.2026, allocations: 94.3 kB / 0.7361 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2028, allocations: 370.8 kB / 0.7365 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005015/0.2033, allocations: 165.2 kB / 0.7366 GB, free: 13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.2038, allocations: 250.7 kB / 0.7369 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.2046, allocations: 455 kB / 0.7373 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2046, allocations: 0 / 0.7373 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001101/0.2057, allocations: 0.565 MB / 0.7379 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.2058, allocations: 39.89 kB / 0.7379 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2058, allocations: 0 / 0.7379 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.2058, allocations: 4 kB / 0.7379 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.2063, allocations: 115.8 kB / 0.738 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2063, allocations: 4 kB / 0.738 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.2066, allocations: 63.89 kB / 0.7381 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.2067, allocations: 16 kB / 0.7381 GB, free: 11.43 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0002715/0.2069, allocations: 206.3 kB / 0.7383 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.207, allocations: 63.56 kB / 0.7384 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.2073, allocations: 65.58 kB / 0.7384 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.2073, allocations: 4 kB / 0.7384 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2073, allocations: 4 kB / 0.7384 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.2073, allocations: 3.984 kB / 0.7384 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.2093, allocations: 1.15 MB / 0.7396 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2093, allocations: 0 / 0.7396 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.2098, allocations: 91.89 kB / 0.7396 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2098, allocations: 0 / 0.7396 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.2098, allocations: 11.98 kB / 0.7397 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2098, allocations: 8 kB / 0.7397 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2098, allocations: 0 / 0.7397 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.2112, allocations: 0.769 MB / 0.7404 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2113, allocations: 103.5 kB / 0.7405 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.2114, allocations: 12 kB / 0.7405 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.2117, allocations: 23.97 kB / 0.7405 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.451e-05/0.2118, allocations: 32.38 kB / 0.7406 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.2118, allocations: 19.98 kB / 0.7406 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003574/0.2122, allocations: 306.9 kB / 0.7409 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2122, allocations: 0 / 0.7409 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004439/0.2126, allocations: 143.6 kB / 0.741 GB, free: 8.359 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.001914/0.2145, allocations: 1.323 MB / 0.7423 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000958/0.2155, allocations: 460.7 kB / 0.7428 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2155, allocations: 0 / 0.7428 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.2159, allocations: 206.4 kB / 0.743 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.2167, allocations: 157.7 kB / 0.7431 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.2247, allocations: 4.809 MB / 0.7478 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.2253, allocations: 0.89 MB / 0.7487 GB, free: 340 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002824/0.2256, allocations: 64.58 kB / 0.7487 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.2259, allocations: 219.4 kB / 0.7489 GB, free: 56 kB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.2259, allocations: 0 / 0.7489 GB, free: 56 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.5731, allocations: 11.82 MB / 0.7605 GB, free: 29.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.23, allocations: 3.094 kB / 0.7605 GB, free: 29.76 MB / 0.5606 GB " [Timeout remaining time 648] (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: 16.41339615600009] Failed to read output from testmodel.py, exit status != 0: 12.337234061000345 12.352913587 12.160910505 Calling exit ...