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.00144/0.00144, allocations: 92.22 kB / 20.46 MB, free: 4.113 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.001699/0.001699, allocations: 157 kB / 23.82 MB, free: 0.7539 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 0.9577/0.9577, allocations: 177.2 MB / 204.2 MB, free: 5.609 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.6118/0.6118, allocations: 110.2 MB / 371 MB, free: 12.54 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.893e-06/1.893e-06, allocations: 0 / 475 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.243e-05, allocations: 2.859 kB / 475 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003509/0.003542, allocations: 3.259 MB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.006738, allocations: 2.757 MB / 481.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.007065, allocations: 8.781 kB / 481.1 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.007449, allocations: 104.8 kB / 481.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.008066, allocations: 251.8 kB / 481.4 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.009111, allocations: 0.4941 MB / 481.9 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.009896, allocations: 0.8694 MB / 482.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.01023, allocations: 214.3 kB / 483 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.0109, allocations: 499.1 kB / 483.5 MB, free: 9.992 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004485/0.01135, allocations: 336.5 kB / 483.8 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.0115, allocations: 86.16 kB / 483.9 MB, free: 9.867 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.01202, allocations: 318.1 kB / 484.2 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.01219, allocations: 243.3 kB / 484.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.01244, allocations: 274.4 kB / 484.7 MB, free: 9.508 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.0135, allocations: 0.8713 MB / 485.6 MB, free: 9.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.0135, allocations: 1.406 kB / 485.6 MB, free: 9.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01351, allocations: 0.6562 kB / 485.6 MB, free: 9.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.01353, allocations: 1.594 kB / 485.6 MB, free: 9.086 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.001544/0.01508, allocations: 1.171 MB / 486.7 MB, free: 8.215 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01512, allocations: 8.75 kB / 486.8 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.01544, allocations: 159.9 kB / 486.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.01595, allocations: 440.4 kB / 487.3 MB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.01608, allocations: 198.8 kB / 487.5 MB, free: 7.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/0.01616, allocations: 68.45 kB / 487.6 MB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.01701, allocations: 0.646 MB / 488.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01702, allocations: 0 / 488.2 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.01707, allocations: 22.12 kB / 488.3 MB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.01708, allocations: 17.7 kB / 488.3 MB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007225/0.01781, allocations: 435.4 kB / 488.7 MB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0025/0.02031, allocations: 1.838 MB / 490.5 MB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.02116, allocations: 497.2 kB / 491 MB, free: 21.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004244/0.02159, allocations: 240.8 kB / 491.3 MB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.02194, allocations: 71.14 kB / 491.3 MB, free: 21.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.02198, allocations: 47.02 kB / 491.4 MB, free: 21.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 3.617e-06/0.02198, allocations: 0 / 491.4 MB, free: 21.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.002857/0.02484, allocations: 1.315 MB / 492.7 MB, free: 21.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.02489, allocations: 145.2 kB / 492.8 MB, free: 21.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.02529, allocations: 468.1 kB / 493.3 MB, free: 21.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.02533, allocations: 32.14 kB / 493.3 MB, free: 21.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.02549, allocations: 371.8 kB / 493.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.02559, allocations: 211.8 kB / 493.9 MB, free: 20.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.02573, allocations: 111.9 kB / 494 MB, free: 20.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.02589, allocations: 0.5522 MB / 494.6 MB, free: 19.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.02615, allocations: 180 kB / 494.7 MB, free: 19.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.02644, allocations: 359.8 kB / 495.1 MB, free: 19.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.02717, allocations: 0.6356 MB / 495.7 MB, free: 19.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.02717, allocations: 1.844 kB / 495.7 MB, free: 19.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00144/0.02862, allocations: 0.8885 MB / 496.6 MB, free: 18.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.02866, allocations: 71.14 kB / 496.7 MB, free: 18.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00131/0.02997, allocations: 0.7816 MB / 497.5 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.03081, allocations: 367.5 kB / 497.8 MB, free: 18.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.03114, allocations: 112.6 kB / 497.9 MB, free: 18.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.03322, allocations: 2.12 MB / 0.4883 GB, free: 16.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.0335, allocations: 60.3 kB / 0.4884 GB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.03355, allocations: 32.81 kB / 0.4884 GB, free: 16.69 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.000305/0.03385, allocations: 230.2 kB / 0.4886 GB, free: 16.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.03397, allocations: 83.62 kB / 0.4887 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/0.0355, allocations: 0.8295 MB / 0.4895 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.03551, allocations: 6.719 kB / 0.4895 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.03551, allocations: 0 / 0.4895 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.03552, allocations: 1.156 kB / 0.4895 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.03606, allocations: 496.1 kB / 0.49 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00131/0.03737, allocations: 0.738 MB / 0.4907 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.03765, allocations: 100.3 kB / 0.4908 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/0.03846, allocations: 374.4 kB / 0.4912 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.03851, allocations: 23.09 kB / 0.4912 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.04042, allocations: 2.095 MB / 0.4933 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.04042, allocations: 0 / 0.4933 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.04237, allocations: 1.17 MB / 0.4944 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.0426, allocations: 141 kB / 0.4945 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.04266, allocations: 13.56 kB / 0.4945 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.04284, allocations: 20.47 kB / 0.4946 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.04301, allocations: 51.75 kB / 0.4946 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.04305, allocations: 26.69 kB / 0.4946 GB, free: 13.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.04334, allocations: 305.1 kB / 0.4949 GB, free: 12.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04334, allocations: 0 / 0.4949 GB, free: 12.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.04401, allocations: 248.9 kB / 0.4952 GB, free: 12.73 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.0012/0.04521, allocations: 0.5679 MB / 0.4957 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.04638, allocations: 0.8687 MB / 0.4966 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.04638, allocations: 0 / 0.4966 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.04698, allocations: 0.5702 MB / 0.4971 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.04739, allocations: 121.8 kB / 0.4972 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.04946, allocations: 1.259 MB / 0.4985 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.0496, allocations: 168.2 kB / 0.4986 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.04989, allocations: 127.4 kB / 0.4988 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.05001, allocations: 52.47 kB / 0.4988 GB, free: 9.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/0.05002, allocations: 0 / 0.4988 GB, free: 9.426 MB / 426.7 MB Notification: Performance of Templates: time 0.01583/0.06585, allocations: 11.7 MB / 0.5102 GB, free: 15.36 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: 5.066407217178494]