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.001765/0.001765, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001496/0.001496, allocations: 218.7 kB / 23.04 MB, free: 5.074 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.9217/0.9217, allocations: 145 MB / 458.2 MB, free: 15.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",fmuType="cs",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.001965/0.001965, allocations: 61.53 kB / 0.6338 GB, free: 7.402 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 87.88 MB / 0.7197 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005005/0.1757, allocations: 3.295 MB / 0.7229 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.1802, allocations: 2.813 MB / 0.7256 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.1806, allocations: 15.94 kB / 0.7256 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.181, allocations: 103.1 kB / 0.7257 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.1817, allocations: 242.4 kB / 0.726 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1829, allocations: 494.7 kB / 0.7265 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001224/0.1842, allocations: 0.8539 MB / 0.7273 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.1846, allocations: 213.8 kB / 0.7275 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.1852, allocations: 362.9 kB / 0.7278 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006144/0.1858, allocations: 402.6 kB / 0.7282 GB, free: 6.727 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.1859, allocations: 88 kB / 0.7283 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.1867, allocations: 419.5 kB / 0.7287 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.187, allocations: 247.2 kB / 0.7289 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.1874, allocations: 409.8 kB / 0.7293 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1888, allocations: 1.199 MB / 0.7305 GB, free: 4.383 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1888, allocations: 0 / 0.7305 GB, free: 4.383 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1888, allocations: 0 / 0.7305 GB, free: 4.383 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.1888, allocations: 0 / 0.7305 GB, free: 4.383 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.002405/0.1912, allocations: 1.099 MB / 0.7316 GB, free: 3.238 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1913, allocations: 8.031 kB / 0.7316 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.592e-05/0.1913, allocations: 17.5 kB / 0.7316 GB, free: 3.211 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1914, allocations: 110.7 kB / 0.7317 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.1917, allocations: 88.42 kB / 0.7318 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.1925, allocations: 451.6 kB / 0.7322 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.1927, allocations: 197.8 kB / 0.7324 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1928, allocations: 60 kB / 0.7325 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.1944, allocations: 0.7978 MB / 0.7332 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1945, allocations: 0 / 0.7332 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/0.1945, allocations: 20 kB / 0.7333 GB, free: 1.422 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.1945, allocations: 20 kB / 0.7333 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.1965, allocations: 0.7897 MB / 0.7341 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.201, allocations: 2.706 MB / 0.7367 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.2027, allocations: 0.6567 MB / 0.7373 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00094/0.2036, allocations: 382.1 kB / 0.7377 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004328/0.2041, allocations: 81.28 kB / 0.7378 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.2041, allocations: 39 kB / 0.7378 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 3.106e-06/0.2041, allocations: 0 / 0.7378 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.009261/0.2134, allocations: 2.184 MB / 0.7399 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.519e-05/0.2135, allocations: 141 kB / 0.7401 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.2141, allocations: 481.9 kB / 0.7405 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.042e-05/0.2142, allocations: 37.7 kB / 0.7406 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.2145, allocations: 320.9 kB / 0.7409 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2147, allocations: 218.1 kB / 0.7411 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2149, allocations: 118.1 kB / 0.7412 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2151, allocations: 366.8 kB / 0.7416 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.2158, allocations: 305 kB / 0.7418 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.2167, allocations: 402.7 kB / 0.7422 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.2216, allocations: 1.833 MB / 0.744 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2217, allocations: 8 kB / 0.744 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004686/0.2263, allocations: 1.358 MB / 0.7454 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.2264, allocations: 59.41 kB / 0.7454 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004539/0.2309, allocations: 1.304 MB / 0.7467 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009572/0.2319, allocations: 328.5 kB / 0.747 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.2325, allocations: 119.8 kB / 0.7471 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3331/0.5656, allocations: 2.974 MB / 0.75 GB, free: 29.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.5662, allocations: 69.45 kB / 0.7501 GB, free: 29.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.5663, allocations: 24.28 kB / 0.7501 GB, free: 29.49 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.0004187/0.5667, allocations: 282.6 kB / 0.7504 GB, free: 29.35 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5669, allocations: 62.81 kB / 0.7504 GB, free: 29.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.5714, allocations: 1.35 MB / 0.7518 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5714, allocations: 5.469 kB / 0.7518 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5714, allocations: 5.031 kB / 0.7518 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5714, allocations: 3.094 kB / 0.7518 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5724, allocations: 0.7336 MB / 0.7525 GB, free: 29.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004482/0.5769, allocations: 1.274 MB / 0.7537 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.5774, allocations: 88.78 kB / 0.7538 GB, free: 29.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000902/0.5783, allocations: 333.3 kB / 0.7541 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.5784, allocations: 16.89 kB / 0.7541 GB, free: 29.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008194/0.5866, allocations: 2.977 MB / 0.7571 GB, free: 27.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5866, allocations: 0 / 0.7571 GB, free: 27.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.5925, allocations: 1.913 MB / 0.7589 GB, free: 27.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.5929, allocations: 146.3 kB / 0.7591 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.593, allocations: 14.86 kB / 0.7591 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.5934, allocations: 36.08 kB / 0.7591 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.5936, allocations: 65.62 kB / 0.7592 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.5937, allocations: 25.72 kB / 0.7592 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004374/0.5941, allocations: 343.4 kB / 0.7595 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5941, allocations: 0 / 0.7595 GB, free: 27.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008123/0.595, allocations: 244.4 kB / 0.7598 GB, free: 27.49 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.008091/0.603, allocations: 2.938 MB / 0.7626 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002941/0.606, allocations: 1.068 MB / 0.7637 GB, free: 26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.606, allocations: 0 / 0.7637 GB, free: 26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/0.6078, allocations: 0.654 MB / 0.7643 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.6085, allocations: 83.59 kB / 0.7644 GB, free: 25.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/0.6231, allocations: 6.9 MB / 0.7711 GB, free: 22.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.6237, allocations: 0.9425 MB / 0.772 GB, free: 21.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005457/0.6242, allocations: 128.8 kB / 0.7722 GB, free: 21.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.6246, allocations: 241 kB / 0.7724 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.6246, allocations: 1.422 kB / 0.7724 GB, free: 21.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05248/0.6771, allocations: 18.34 MB / 0.7903 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.56, allocations: 11.98 kB / 0.7903 GB, free: 13.05 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: 18.854289230017457] Failed to read output from testmodel.py, exit status != 0: 14.822100267978385 14.837314868 14.645146986 Calling exit ...