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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 104.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.8729/0.8729, allocations: 145.2 MB / 447.9 MB, free: 6.371 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 76.17 kB / 0.6199 GB, free: 1.473 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1643, allocations: 86.64 MB / 0.7045 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004963/0.1693, allocations: 3.237 MB / 0.7076 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003912/0.1732, allocations: 2.593 MB / 0.7102 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.1734, allocations: 8 kB / 0.7102 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.1738, allocations: 91.11 kB / 0.7103 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.1743, allocations: 198.6 kB / 0.7105 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1753, allocations: 497.2 kB / 0.7109 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.1762, allocations: 0.8459 MB / 0.7118 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.1766, allocations: 249.4 kB / 0.712 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004042/0.177, allocations: 338.9 kB / 0.7123 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005179/0.1775, allocations: 394.6 kB / 0.7127 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.1776, allocations: 88 kB / 0.7128 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.1781, allocations: 367.6 kB / 0.7131 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.1784, allocations: 247.2 kB / 0.7134 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1787, allocations: 386 kB / 0.7137 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.18, allocations: 1.156 MB / 0.7149 GB, free: 100 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.18, allocations: 0 / 0.7149 GB, free: 100 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.292e-06/0.18, allocations: 4 kB / 0.7149 GB, free: 96 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.18, allocations: 4 kB / 0.7149 GB, free: 92 kB / 0.5294 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.002055/0.1821, allocations: 1.129 MB / 0.716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1821, allocations: 8.031 kB / 0.716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.1822, allocations: 110.7 kB / 0.7161 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002412/0.1825, allocations: 96.42 kB / 0.7162 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.1832, allocations: 0.4898 MB / 0.7167 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.1834, allocations: 94.98 kB / 0.7168 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.1835, allocations: 63.95 kB / 0.7168 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.185, allocations: 0.7939 MB / 0.7176 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.185, allocations: 0 / 0.7176 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/0.1851, allocations: 24 kB / 0.7176 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1851, allocations: 20 kB / 0.7176 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.1869, allocations: 0.7935 MB / 0.7184 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.1912, allocations: 2.722 MB / 0.7211 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.1927, allocations: 0.655 MB / 0.7217 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008707/0.1936, allocations: 386.1 kB / 0.7221 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.1942, allocations: 0.5234 MB / 0.7226 GB, free: 7.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1943, allocations: 39 kB / 0.7226 GB, free: 7.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.885e-06/0.1943, allocations: 0 / 0.7226 GB, free: 7.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.008739/0.203, allocations: 2.257 MB / 0.7248 GB, free: 5.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.2031, allocations: 148.8 kB / 0.725 GB, free: 5.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006342/0.2037, allocations: 473.9 kB / 0.7254 GB, free: 4.762 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.2038, allocations: 37.7 kB / 0.7255 GB, free: 4.719 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.204, allocations: 312.9 kB / 0.7258 GB, free: 4.406 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.2042, allocations: 214.1 kB / 0.726 GB, free: 4.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.2044, allocations: 114.2 kB / 0.7261 GB, free: 4.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2046, allocations: 362.8 kB / 0.7264 GB, free: 3.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.2053, allocations: 313 kB / 0.7267 GB, free: 3.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.2061, allocations: 395.1 kB / 0.7271 GB, free: 2.996 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/0.2107, allocations: 1.838 MB / 0.7289 GB, free: 1.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2107, allocations: 3.938 kB / 0.7289 GB, free: 1.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004348/0.2151, allocations: 1.369 MB / 0.7302 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.238e-05/0.2151, allocations: 59.41 kB / 0.7303 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00413/0.2192, allocations: 1.303 MB / 0.7316 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.2201, allocations: 328.5 kB / 0.7319 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.2206, allocations: 111.9 kB / 0.732 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.2286, allocations: 3.084 MB / 0.735 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/0.2291, allocations: 71.61 kB / 0.7351 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.2292, allocations: 31.92 kB / 0.7351 GB, free: 10.54 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.0004562/0.2297, allocations: 286.1 kB / 0.7354 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2298, allocations: 59.62 kB / 0.7354 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.2342, allocations: 1.358 MB / 0.7367 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2342, allocations: 8 kB / 0.7367 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2342, allocations: 0 / 0.7367 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.2342, allocations: 3.984 kB / 0.7368 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.2351, allocations: 0.756 MB / 0.7375 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004051/0.2392, allocations: 1.274 MB / 0.7387 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.2396, allocations: 95.81 kB / 0.7388 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008283/0.2405, allocations: 324.5 kB / 0.7391 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.2405, allocations: 19.98 kB / 0.7392 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00805/0.2486, allocations: 3.08 MB / 0.7422 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2486, allocations: 0 / 0.7422 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/0.254, allocations: 1.91 MB / 0.744 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.2544, allocations: 216.6 kB / 0.7442 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.539e-05/0.2545, allocations: 20 kB / 0.7443 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.2549, allocations: 31.97 kB / 0.7443 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.255, allocations: 64.41 kB / 0.7443 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.2551, allocations: 27.92 kB / 0.7444 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000419/0.2555, allocations: 335.1 kB / 0.7447 GB, free: 440 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2555, allocations: 0 / 0.7447 GB, free: 440 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007308/0.2562, allocations: 227.4 kB / 0.7449 GB, free: 212 kB / 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.007257/0.2635, allocations: 2.874 MB / 0.7477 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.266, allocations: 1.073 MB / 0.7488 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.266, allocations: 4 kB / 0.7488 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.2675, allocations: 0.6432 MB / 0.7494 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.2681, allocations: 78.31 kB / 0.7495 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/0.2827, allocations: 6.861 MB / 0.7562 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.2833, allocations: 0.9338 MB / 0.7571 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004245/0.2837, allocations: 127.9 kB / 0.7572 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.2841, allocations: 239.3 kB / 0.7574 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.2841, allocations: 0 / 0.7574 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.346/0.6301, allocations: 17.27 MB / 0.7743 GB, free: 53.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.87, allocations: 3.25 kB / 0.7743 GB, free: 53.41 MB / 0.5762 GB " [Timeout remaining time 647] (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.602371193934232] Failed to read output from testmodel.py, exit status != 0: 13.040807071141899 13.053000021 12.870559398 Calling exit ...