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.001335/0.001335, 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.001358/0.001358, allocations: 220.4 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.996 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.9114/0.9114, 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.001951/0.001951, allocations: 70.67 kB / 0.6331 GB, free: 7.387 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 87.87 MB / 0.7189 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.00483/0.1665, allocations: 3.295 MB / 0.7221 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.1713, allocations: 2.813 MB / 0.7249 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1715, allocations: 4 kB / 0.7249 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.172, allocations: 111 kB / 0.725 GB, free: 9.266 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.1725, allocations: 246.4 kB / 0.7252 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1737, allocations: 485.6 kB / 0.7257 GB, free: 8.551 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009567/0.1747, allocations: 0.8538 MB / 0.7265 GB, free: 7.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000471/0.1752, allocations: 221.8 kB / 0.7267 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004386/0.1756, allocations: 359 kB / 0.7271 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.1762, allocations: 402.6 kB / 0.7274 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1763, allocations: 92 kB / 0.7275 GB, free: 6.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.1771, allocations: 423.4 kB / 0.7279 GB, free: 6.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.1774, allocations: 243.3 kB / 0.7282 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.1777, allocations: 397.9 kB / 0.7285 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.179, allocations: 1.21 MB / 0.7297 GB, free: 4.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.179, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.179, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.179, allocations: 0 / 0.7297 GB, free: 4.379 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.00198/0.181, allocations: 1.081 MB / 0.7308 GB, free: 3.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.181, allocations: 12.03 kB / 0.7308 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.1811, allocations: 114.7 kB / 0.7309 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.1814, allocations: 88.42 kB / 0.731 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.1821, allocations: 451.8 kB / 0.7314 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.1823, allocations: 197.8 kB / 0.7316 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.1824, allocations: 67.97 kB / 0.7317 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.184, allocations: 0.79 MB / 0.7324 GB, free: 1.461 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.184, allocations: 4 kB / 0.7324 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.468e-05/0.1841, allocations: 27.92 kB / 0.7325 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1841, allocations: 16 kB / 0.7325 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.186, allocations: 0.7975 MB / 0.7333 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.1903, allocations: 2.706 MB / 0.7359 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.1921, allocations: 0.6432 MB / 0.7365 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009558/0.193, allocations: 390 kB / 0.7369 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004504/0.1935, allocations: 81.3 kB / 0.737 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.1936, allocations: 39 kB / 0.737 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 1.321e-05/0.1937, allocations: 0 / 0.737 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.00945/0.2031, allocations: 2.18 MB / 0.7392 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/0.2032, allocations: 144.8 kB / 0.7393 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.2039, allocations: 481.9 kB / 0.7398 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.2039, allocations: 41.64 kB / 0.7398 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.2042, allocations: 324.9 kB / 0.7401 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.2043, allocations: 218.1 kB / 0.7403 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.2046, allocations: 110.2 kB / 0.7404 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002578/0.2048, allocations: 366.8 kB / 0.7408 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.2056, allocations: 305 kB / 0.7411 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.2064, allocations: 394.8 kB / 0.7414 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004864/0.2112, allocations: 1.843 MB / 0.7432 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2112, allocations: 4 kB / 0.7432 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004673/0.2159, allocations: 1.366 MB / 0.7446 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.216, allocations: 65.27 kB / 0.7446 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004361/0.2203, allocations: 1.296 MB / 0.7459 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/0.2212, allocations: 328.5 kB / 0.7462 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.2218, allocations: 119.9 kB / 0.7463 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2881/0.5099, allocations: 2.971 MB / 0.7492 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.5105, allocations: 71.09 kB / 0.7493 GB, free: 29.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.5106, allocations: 24.39 kB / 0.7493 GB, free: 29.28 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.0003628/0.5109, allocations: 286.3 kB / 0.7496 GB, free: 29.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5111, allocations: 60 kB / 0.7496 GB, free: 29.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004292/0.5154, allocations: 1.357 MB / 0.751 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.5154, allocations: 5.219 kB / 0.751 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5154, allocations: 1.422 kB / 0.751 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.5154, allocations: 2.766 kB / 0.751 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009136/0.5163, allocations: 0.7322 MB / 0.7517 GB, free: 28.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004183/0.5205, allocations: 1.272 MB / 0.7529 GB, free: 28.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.5209, allocations: 94.44 kB / 0.753 GB, free: 28.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008156/0.5217, allocations: 329.5 kB / 0.7533 GB, free: 28.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/0.5218, allocations: 17.59 kB / 0.7534 GB, free: 28.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007791/0.5296, allocations: 2.974 MB / 0.7563 GB, free: 27.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5296, allocations: 0.9375 kB / 0.7563 GB, free: 27.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.5351, allocations: 1.913 MB / 0.7581 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.5354, allocations: 149.2 kB / 0.7583 GB, free: 27.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.896e-05/0.5355, allocations: 11.47 kB / 0.7583 GB, free: 27.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/0.5359, allocations: 33.97 kB / 0.7583 GB, free: 27.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5361, allocations: 67.2 kB / 0.7584 GB, free: 27.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-05/0.5361, allocations: 22.7 kB / 0.7584 GB, free: 27.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003846/0.5365, allocations: 347.5 kB / 0.7587 GB, free: 27.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5365, allocations: 0 / 0.7587 GB, free: 27.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007266/0.5373, allocations: 243.6 kB / 0.759 GB, free: 27.29 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.007379/0.5446, allocations: 2.941 MB / 0.7618 GB, free: 26.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002535/0.5472, allocations: 1.064 MB / 0.7629 GB, free: 25.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5472, allocations: 0.5 kB / 0.7629 GB, free: 25.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.5487, allocations: 0.6475 MB / 0.7635 GB, free: 25.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.5493, allocations: 92.72 kB / 0.7636 GB, free: 25.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/0.5631, allocations: 6.904 MB / 0.7703 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.5634, allocations: 0.9353 MB / 0.7713 GB, free: 21.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000475/0.5639, allocations: 127 kB / 0.7714 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.5642, allocations: 241.3 kB / 0.7716 GB, free: 21.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.5642, allocations: 0 / 0.7716 GB, free: 21.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/0.6197, allocations: 18.3 MB / 0.7895 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.65, allocations: 14.28 kB / 0.7895 GB, free: 12.9 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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: 20.5894252541475] Failed to read output from testmodel.py, exit status != 0: 14.852536599850282 14.864319565 14.682489537 Calling exit ...