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.001404/0.001404, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001731/0.001731, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.9637/0.9637, allocations: 145 MB / 458.2 MB, free: 15.53 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: translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") [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.003106/0.003106, allocations: 70.89 kB / 0.6343 GB, free: 6.934 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2212, allocations: 87.88 MB / 0.7201 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.006009/0.2272, allocations: 3.303 MB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005761/0.2329, allocations: 2.817 MB / 0.7261 GB, free: 8.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006146/0.2336, allocations: 8 kB / 0.7261 GB, free: 8.891 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.2342, allocations: 103 kB / 0.7262 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.2354, allocations: 246.4 kB / 0.7264 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.237, allocations: 489.8 kB / 0.7269 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.2386, allocations: 0.8539 MB / 0.7277 GB, free: 7.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.2392, allocations: 221.8 kB / 0.728 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.2399, allocations: 355 kB / 0.7283 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006515/0.2405, allocations: 402.6 kB / 0.7287 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.2407, allocations: 92 kB / 0.7288 GB, free: 6.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008607/0.2415, allocations: 419.5 kB / 0.7292 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.2418, allocations: 251.2 kB / 0.7294 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.2423, allocations: 397.9 kB / 0.7298 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.244, allocations: 1.206 MB / 0.731 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.244, allocations: 0 / 0.731 GB, free: 3.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.244, allocations: 0 / 0.731 GB, free: 3.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.244, allocations: 0 / 0.731 GB, free: 3.902 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.002249/0.2463, allocations: 1.089 MB / 0.732 GB, free: 2.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.2463, allocations: 8.031 kB / 0.732 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.2466, allocations: 100.4 kB / 0.7321 GB, free: 2.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.2474, allocations: 440 kB / 0.7325 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.2476, allocations: 201.7 kB / 0.7327 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2477, allocations: 60 kB / 0.7328 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.2493, allocations: 0.8017 MB / 0.7336 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.2494, allocations: 0 / 0.7336 GB, free: 1.094 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.2494, allocations: 24 kB / 0.7336 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.2494, allocations: 16 kB / 0.7336 GB, free: 1.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.2513, allocations: 0.7975 MB / 0.7344 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00455/0.2559, allocations: 2.702 MB / 0.737 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.2575, allocations: 0.6469 MB / 0.7377 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.2584, allocations: 386.1 kB / 0.738 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004569/0.2589, allocations: 77.23 kB / 0.7381 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.2589, allocations: 50.97 kB / 0.7382 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.846e-06/0.2589, allocations: 0 / 0.7382 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.009362/0.2683, allocations: 2.18 MB / 0.7403 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.2684, allocations: 140.9 kB / 0.7404 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/0.2691, allocations: 485.8 kB / 0.7409 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.2692, allocations: 37.7 kB / 0.7409 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.2695, allocations: 320.9 kB / 0.7412 GB, free: 9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.2697, allocations: 222.1 kB / 0.7414 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.27, allocations: 110.2 kB / 0.7415 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.2702, allocations: 362.8 kB / 0.7419 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008086/0.271, allocations: 308.9 kB / 0.7422 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008528/0.2718, allocations: 398.8 kB / 0.7426 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.2768, allocations: 1.831 MB / 0.7444 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2768, allocations: 0 / 0.7444 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004749/0.2816, allocations: 1.374 MB / 0.7457 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.2817, allocations: 60.97 kB / 0.7458 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00451/0.2862, allocations: 1.293 MB / 0.747 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009716/0.2871, allocations: 336.5 kB / 0.7473 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.2877, allocations: 115.8 kB / 0.7474 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4334/0.7211, allocations: 2.973 MB / 0.7503 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/0.722, allocations: 64.33 kB / 0.7504 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.7221, allocations: 26.61 kB / 0.7504 GB, free: 29.22 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.0007299/0.7228, allocations: 286.4 kB / 0.7507 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.723, allocations: 63.66 kB / 0.7508 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.7279, allocations: 1.351 MB / 0.7521 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.7279, allocations: 9.078 kB / 0.7521 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7279, allocations: 0.8125 kB / 0.7521 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7279, allocations: 5.062 kB / 0.7521 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.7291, allocations: 0.7268 MB / 0.7528 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004462/0.7335, allocations: 1.278 MB / 0.7541 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.734, allocations: 91.41 kB / 0.7541 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008965/0.7349, allocations: 329.3 kB / 0.7545 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.735, allocations: 21.8 kB / 0.7545 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008161/0.7431, allocations: 2.981 MB / 0.7574 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7431, allocations: 0.625 kB / 0.7574 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.749, allocations: 1.91 MB / 0.7593 GB, free: 27.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.7494, allocations: 146 kB / 0.7594 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.7495, allocations: 10.86 kB / 0.7594 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.7499, allocations: 35.86 kB / 0.7594 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.7501, allocations: 65.45 kB / 0.7595 GB, free: 27.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/0.7502, allocations: 26.19 kB / 0.7595 GB, free: 27.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005103/0.7507, allocations: 344 kB / 0.7599 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7507, allocations: 1.641 kB / 0.7599 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009086/0.7516, allocations: 244.8 kB / 0.7601 GB, free: 27.21 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.002012/0.7536, allocations: 0.5756 MB / 0.7607 GB, free: 27.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.7563, allocations: 1.07 MB / 0.7617 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.7563, allocations: 0 / 0.7617 GB, free: 26.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/0.7578, allocations: 0.6483 MB / 0.7623 GB, free: 26.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000726/0.7586, allocations: 84.05 kB / 0.7624 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.762, allocations: 1.599 MB / 0.764 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.7625, allocations: 0.9386 MB / 0.7649 GB, free: 24.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.7628, allocations: 59.75 kB / 0.7649 GB, free: 24.91 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.7628, allocations: 0 / 0.7649 GB, free: 24.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.02079/0.7836, allocations: 13.17 MB / 0.7778 GB, free: 20.34 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.124068300938234] Failed to read output from testmodel.py, exit status != 0: 0.7946135809179395 0.804040082 0.557557228 Calling exit ...