Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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.001511/0.001511, 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.001544/0.001544, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.992 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.9149/0.9149, allocations: 145 MB / 457.4 MB, free: 15.55 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.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",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.002389/0.002389, allocations: 70.7 kB / 0.6331 GB, free: 7.438 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1923, allocations: 87.89 MB / 0.7189 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004985/0.1973, allocations: 3.291 MB / 0.7221 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.2018, allocations: 2.821 MB / 0.7249 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.2021, allocations: 4 kB / 0.7249 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.2026, allocations: 107 kB / 0.725 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006298/0.2032, allocations: 234.5 kB / 0.7252 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.2043, allocations: 494.1 kB / 0.7257 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.2053, allocations: 0.8577 MB / 0.7265 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.2057, allocations: 229.8 kB / 0.7267 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.2062, allocations: 351 kB / 0.7271 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.2068, allocations: 402.6 kB / 0.7274 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.2069, allocations: 88 kB / 0.7275 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.2075, allocations: 415.5 kB / 0.7279 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.2078, allocations: 247.3 kB / 0.7282 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.2082, allocations: 401.9 kB / 0.7285 GB, free: 5.621 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2096, allocations: 1.21 MB / 0.7297 GB, free: 4.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2096, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2096, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.643e-05/0.2096, allocations: 4 kB / 0.7297 GB, free: 4.402 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002121/0.2117, allocations: 1.083 MB / 0.7308 GB, free: 3.273 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2118, allocations: 12.03 kB / 0.7308 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.2119, allocations: 110.7 kB / 0.7309 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.2122, allocations: 88.42 kB / 0.731 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007593/0.2129, allocations: 451.8 kB / 0.7314 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.2131, allocations: 201.8 kB / 0.7316 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.2133, allocations: 56 kB / 0.7317 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.2149, allocations: 0.7939 MB / 0.7324 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.2149, allocations: 8 kB / 0.7325 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.929e-05/0.215, allocations: 23.98 kB / 0.7325 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.215, allocations: 20 kB / 0.7325 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.217, allocations: 0.7935 MB / 0.7333 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.2215, allocations: 2.706 MB / 0.7359 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.2231, allocations: 0.649 MB / 0.7365 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.224, allocations: 386 kB / 0.7369 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/0.2244, allocations: 81.25 kB / 0.737 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.2245, allocations: 35 kB / 0.737 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.2245, allocations: 4 kB / 0.737 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.0098/0.2343, allocations: 2.18 MB / 0.7392 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2344, allocations: 144.9 kB / 0.7393 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.2351, allocations: 493.8 kB / 0.7398 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.2352, allocations: 37.7 kB / 0.7398 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.2355, allocations: 324.9 kB / 0.7401 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.2357, allocations: 214.1 kB / 0.7403 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.2359, allocations: 110.2 kB / 0.7404 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2361, allocations: 362.8 kB / 0.7408 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007692/0.2369, allocations: 313 kB / 0.7411 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008487/0.2377, allocations: 394.8 kB / 0.7414 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004787/0.2425, allocations: 1.831 MB / 0.7432 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2425, allocations: 4 kB / 0.7432 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004598/0.2471, allocations: 1.37 MB / 0.7446 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.2472, allocations: 63.39 kB / 0.7446 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004336/0.2515, allocations: 1.304 MB / 0.7459 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009061/0.2524, allocations: 324.5 kB / 0.7462 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.2529, allocations: 111.9 kB / 0.7463 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3464/0.5993, allocations: 2.982 MB / 0.7492 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.6, allocations: 68.14 kB / 0.7493 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.6, allocations: 26.06 kB / 0.7493 GB, free: 29.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = 0.0 start = 288.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the element\" type: Real R3C2_1.Ts.T:VARIABLE(min = 0.0 start = 288.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of the element\" type: Real PI1.x:VARIABLE(start = PI1.x_start fixed = true ) \"State of block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004637/0.6005, allocations: 282.2 kB / 0.7496 GB, free: 29.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6006, allocations: 62.78 kB / 0.7497 GB, free: 29.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/0.6052, allocations: 1.355 MB / 0.751 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6052, allocations: 6.906 kB / 0.751 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6052, allocations: 0 / 0.751 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6052, allocations: 3.891 kB / 0.751 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6063, allocations: 0.7307 MB / 0.7517 GB, free: 28.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004431/0.6107, allocations: 1.273 MB / 0.7529 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.6112, allocations: 93.45 kB / 0.753 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009167/0.6121, allocations: 328.1 kB / 0.7533 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.6122, allocations: 16.61 kB / 0.7534 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008346/0.6205, allocations: 2.979 MB / 0.7563 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6205, allocations: 0 / 0.7563 GB, free: 27.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006371/0.6269, allocations: 1.912 MB / 0.7581 GB, free: 27.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.6274, allocations: 147.3 kB / 0.7583 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.6274, allocations: 13.12 kB / 0.7583 GB, free: 27.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.6279, allocations: 35.2 kB / 0.7583 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.6281, allocations: 64.83 kB / 0.7584 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.6282, allocations: 24.38 kB / 0.7584 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005703/0.6287, allocations: 348.7 kB / 0.7587 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6287, allocations: 1.219 kB / 0.7587 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000914/0.6296, allocations: 240 kB / 0.759 GB, free: 27.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007742/0.6374, allocations: 2.937 MB / 0.7618 GB, free: 26.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002905/0.6403, allocations: 1.07 MB / 0.7629 GB, free: 25.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6403, allocations: 0.5 kB / 0.7629 GB, free: 25.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.642, allocations: 0.6543 MB / 0.7635 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.6426, allocations: 82.06 kB / 0.7636 GB, free: 25.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/0.6583, allocations: 6.902 MB / 0.7703 GB, free: 22.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.6588, allocations: 0.9393 MB / 0.7713 GB, free: 21.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005147/0.6594, allocations: 129.1 kB / 0.7714 GB, free: 21.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.6597, allocations: 240.9 kB / 0.7716 GB, free: 21.31 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.6597, allocations: 0 / 0.7716 GB, free: 21.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/0.7214, allocations: 18.31 MB / 0.7895 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.17, allocations: 9.234 kB / 0.7895 GB, free: 12.98 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled.fmu > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.342507153000042] Failed to read output from testmodel.py, exit status != 0: 14.370439388996601 14.379765269 14.167616789 Calling exit ...