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.0009104/0.0009104, allocations: 79.73 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001378/0.001378, allocations: 169 kB / 24.17 MB, free: 328 kB / 18.57 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 0.9274/0.9274, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.6044/0.6044, allocations: 110.3 MB / 371.3 MB, free: 12.35 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 422.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.109e-05, allocations: 2.312 kB / 422.2 MB, free: 9.531 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003129/0.00314, allocations: 3.216 MB / 425.4 MB, free: 6.289 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003155/0.006295, allocations: 2.793 MB / 428.2 MB, free: 3.484 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.006455, allocations: 7.938 kB / 428.2 MB, free: 3.477 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.006761, allocations: 99.09 kB / 428.3 MB, free: 3.379 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.007166, allocations: 254.2 kB / 428.6 MB, free: 3.129 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.007814, allocations: 0.4907 MB / 429.1 MB, free: 2.637 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.008397, allocations: 0.8691 MB / 430 MB, free: 1.766 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.008646, allocations: 223.8 kB / 430.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.009047, allocations: 0.4913 MB / 430.7 MB, free: 1.047 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.009352, allocations: 331.2 kB / 431 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.00943, allocations: 88 kB / 431.1 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.009737, allocations: 323.5 kB / 431.4 MB, free: 328 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.00989, allocations: 255.2 kB / 431.6 MB, free: 72 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.01007, allocations: 267.3 kB / 431.9 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006564/0.01073, allocations: 0.8604 MB / 432.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.01073, allocations: 4 kB / 432.8 MB, free: 14.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01073, allocations: 3.938 kB / 432.8 MB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.01074, allocations: 0 / 432.8 MB, free: 14.94 MB / 410.7 MB 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.001065/0.0118, allocations: 1.037 MB / 433.8 MB, free: 13.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.01183, allocations: 8.031 kB / 433.8 MB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.01203, allocations: 128.7 kB / 433.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.01241, allocations: 368.1 kB / 434.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.01256, allocations: 194.4 kB / 434.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.01264, allocations: 64.12 kB / 434.5 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005928/0.01323, allocations: 0.5985 MB / 435.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01325, allocations: 0 / 435.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.01329, allocations: 24 kB / 435.2 MB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.0133, allocations: 12 kB / 435.2 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.01369, allocations: 318.7 kB / 435.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.01544, allocations: 1.427 MB / 436.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005555/0.01599, allocations: 451.8 kB / 437.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.01625, allocations: 191.9 kB / 437.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.0165, allocations: 104.4 kB / 437.7 MB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.01653, allocations: 35.06 kB / 437.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.01653, allocations: 4 kB / 437.7 MB, free: 9.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=62): time 0.001987/0.01851, allocations: 0.9277 MB / 438.6 MB, free: 8.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.01856, allocations: 145 kB / 438.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.01881, allocations: 400.8 kB / 439.1 MB, free: 8.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.01885, allocations: 33.7 kB / 439.2 MB, free: 8.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.01899, allocations: 273.7 kB / 439.4 MB, free: 7.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.01909, allocations: 214.1 kB / 439.7 MB, free: 7.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.01921, allocations: 102.1 kB / 439.8 MB, free: 7.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.0193, allocations: 370.6 kB / 440.1 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.01958, allocations: 139.3 kB / 440.3 MB, free: 7.105 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.01977, allocations: 293.7 kB / 440.5 MB, free: 6.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.02022, allocations: 0.5409 MB / 441.1 MB, free: 6.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.02022, allocations: 0 / 441.1 MB, free: 6.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009273/0.02115, allocations: 0.6421 MB / 441.7 MB, free: 5.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.02119, allocations: 71.33 kB / 441.8 MB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008331/0.02203, allocations: 0.5614 MB / 442.4 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/0.02265, allocations: 335.3 kB / 442.7 MB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.02292, allocations: 111.9 kB / 442.8 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.02469, allocations: 1.505 MB / 444.3 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.02485, allocations: 47.67 kB / 444.3 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.02488, allocations: 15.98 kB / 444.4 MB, free: 2.707 MB / 410.7 MB 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.0001735/0.02505, allocations: 186.7 kB / 444.5 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.02513, allocations: 59.95 kB / 444.6 MB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.02624, allocations: 0.6239 MB / 445.2 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.02625, allocations: 8 kB / 445.2 MB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02625, allocations: 3.938 kB / 445.2 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.02626, allocations: 4 kB / 445.2 MB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.02661, allocations: 357.7 kB / 445.6 MB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0008224/0.02743, allocations: 0.5156 MB / 446.1 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.02765, allocations: 87.89 kB / 446.2 MB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005779/0.02823, allocations: 331.3 kB / 446.5 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.02826, allocations: 19.98 kB / 446.5 MB, free: 456 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1902/0.2185, allocations: 1.478 MB / 448 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2185, allocations: 1.125 kB / 448 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.2201, allocations: 0.8933 MB / 448.9 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.2203, allocations: 105.3 kB / 449 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.68e-05/0.2204, allocations: 13.31 kB / 449 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2206, allocations: 23.08 kB / 449 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.2207, allocations: 45.55 kB / 449.1 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.2208, allocations: 16.03 kB / 449.1 MB, free: 31.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.2209, allocations: 166.8 kB / 449.3 MB, free: 31.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2209, allocations: 3.562 kB / 449.3 MB, free: 31.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006075/0.2215, allocations: 242.4 kB / 449.5 MB, free: 31.7 MB / 410.7 MB 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.001586/0.2231, allocations: 0.7139 MB / 450.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.224, allocations: 0.6992 MB / 450.9 MB, free: 31.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.224, allocations: 3.938 kB / 450.9 MB, free: 31.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.2245, allocations: 462.8 kB / 451.4 MB, free: 30.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2249, allocations: 111.5 kB / 451.5 MB, free: 30.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.2267, allocations: 1.277 MB / 452.8 MB, free: 30.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.2268, allocations: 164.7 kB / 452.9 MB, free: 30.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001935/0.227, allocations: 84.69 kB / 453 MB, free: 30.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.2272, allocations: 155.2 kB / 453.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2272, allocations: 0 / 453.2 MB, free: 30.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01312/0.2403, allocations: 12.75 MB / 465.9 MB, free: 24.2 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.140965848695487]