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.001939/0.001939, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001945/0.001945, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 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 1.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 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.9638/0.9638, allocations: 110.3 MB / 370.6 MB, free: 12.44 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 2.385e-06/2.385e-06, allocations: 0 / 474.3 MB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.64e-05, allocations: 6.234 kB / 474.3 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003771/0.003797, allocations: 3.202 MB / 477.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.007064, allocations: 2.728 MB / 480.2 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.007315, allocations: 10.22 kB / 480.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.00767, allocations: 104.2 kB / 480.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005439/0.008214, allocations: 252.6 kB / 480.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.009132, allocations: 0.4884 MB / 481.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006762/0.009808, allocations: 0.8721 MB / 482 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.01012, allocations: 212 kB / 482.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.01069, allocations: 0.49 MB / 482.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004468/0.01113, allocations: 333.9 kB / 483 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.01127, allocations: 87.81 kB / 483.1 MB, free: 9.941 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005182/0.01179, allocations: 319.3 kB / 483.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.01198, allocations: 251.5 kB / 483.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.01224, allocations: 264.6 kB / 483.9 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.01338, allocations: 1.246 MB / 485.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.01338, allocations: 0 / 485.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01339, allocations: 2.375 kB / 485.1 MB, free: 9.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.0134, allocations: 0 / 485.1 MB, free: 9.078 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.001781/0.01518, allocations: 1.22 MB / 486.3 MB, free: 8.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.01522, allocations: 11.47 kB / 486.4 MB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003511/0.01557, allocations: 163.2 kB / 486.5 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.01624, allocations: 440.7 kB / 486.9 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.01637, allocations: 200.8 kB / 487.1 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.01648, allocations: 65.16 kB / 487.2 MB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.01777, allocations: 0.7912 MB / 488 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.01779, allocations: 0 / 488 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/0.01786, allocations: 22.34 kB / 488 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.01787, allocations: 14.47 kB / 488 MB, free: 7.184 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.01934, allocations: 0.6337 MB / 488.7 MB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.02302, allocations: 2.255 MB / 490.9 MB, free: 21.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.02432, allocations: 0.5589 MB / 491.5 MB, free: 21.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007281/0.02505, allocations: 330.8 kB / 491.8 MB, free: 21.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.02546, allocations: 76.47 kB / 491.9 MB, free: 21.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.02548, allocations: 47.73 kB / 491.9 MB, free: 21.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.02548, allocations: 0 / 491.9 MB, free: 21.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.006141/0.03163, allocations: 1.552 MB / 493.5 MB, free: 20.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.03167, allocations: 136.9 kB / 493.6 MB, free: 20.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.03232, allocations: 0.5559 MB / 494.2 MB, free: 20.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.03238, allocations: 37.67 kB / 494.2 MB, free: 20.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.03262, allocations: 394.5 kB / 494.6 MB, free: 20.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.03276, allocations: 232.9 kB / 494.8 MB, free: 19.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.03298, allocations: 133.9 kB / 494.9 MB, free: 19.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003228/0.03331, allocations: 0.5792 MB / 495.5 MB, free: 19.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/0.03388, allocations: 264 kB / 495.8 MB, free: 19.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.03451, allocations: 449.9 kB / 496.2 MB, free: 18.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.03619, allocations: 0.8809 MB / 497.1 MB, free: 18.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.0362, allocations: 5.656 kB / 497.1 MB, free: 18.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00324/0.03944, allocations: 1.062 MB / 498.2 MB, free: 17.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/0.0395, allocations: 65.83 kB / 498.2 MB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00305/0.04255, allocations: 0.9672 MB / 499.2 MB, free: 17.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.04436, allocations: 407.5 kB / 499.6 MB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.04496, allocations: 113.7 kB / 499.7 MB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.051, allocations: 2.448 MB / 0.4904 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.05153, allocations: 62.28 kB / 0.4905 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.05161, allocations: 25.16 kB / 0.4905 GB, free: 15.57 MB / 426.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.0004595/0.05206, allocations: 268 kB / 0.4907 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.05225, allocations: 84.5 kB / 0.4908 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.05557, allocations: 1.007 MB / 0.4918 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.05558, allocations: 5.969 kB / 0.4918 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.05558, allocations: 1.188 kB / 0.4918 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.05559, allocations: 2.906 kB / 0.4918 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/0.05649, allocations: 0.6034 MB / 0.4924 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003101/0.05959, allocations: 0.914 MB / 0.4933 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.06006, allocations: 94.14 kB / 0.4934 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.06176, allocations: 408.6 kB / 0.4938 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.06184, allocations: 20.41 kB / 0.4938 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005719/0.06756, allocations: 2.442 MB / 0.4962 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.06756, allocations: 0 / 0.4962 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/0.07215, allocations: 1.487 MB / 0.4976 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/0.07259, allocations: 141.3 kB / 0.4978 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.0727, allocations: 12.7 kB / 0.4978 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.07308, allocations: 30.61 kB / 0.4978 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.0733, allocations: 54.38 kB / 0.4978 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.07336, allocations: 19.61 kB / 0.4979 GB, free: 10.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005389/0.0739, allocations: 368.4 kB / 0.4982 GB, free: 9.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0739, allocations: 0 / 0.4982 GB, free: 9.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009956/0.0749, allocations: 245 kB / 0.4985 GB, free: 9.473 MB / 426.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.00364/0.07854, allocations: 0.6113 MB / 0.4991 GB, free: 9.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.081, allocations: 1.049 MB / 0.5001 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.08101, allocations: 0 / 0.5001 GB, free: 8.121 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.08246, allocations: 0.6594 MB / 0.5007 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.08315, allocations: 127.4 kB / 0.5008 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.08609, allocations: 1.362 MB / 0.5022 GB, free: 6.082 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.08663, allocations: 337 kB / 0.5025 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000416/0.08705, allocations: 115.7 kB / 0.5026 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.08723, allocations: 57.08 kB / 0.5027 GB, free: 5.699 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.08723, allocations: 0 / 0.5027 GB, free: 5.699 MB / 426.7 MB Notification: Performance of Templates: time 0.02355/0.1108, allocations: 11.69 MB / 0.5141 GB, free: 11.06 MB / 442.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: 7.633694057003595]