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.001499/0.001499, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001807/0.001807, allocations: 165.3 kB / 23.55 MB, free: 0.8594 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.495/1.495, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.9507/0.9507, allocations: 110.3 MB / 370.6 MB, free: 12.48 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.605e-06/2.605e-06, allocations: 0 / 474.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.9e-05, allocations: 3.516 kB / 474.3 MB, free: 15.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003709/0.003738, allocations: 3.042 MB / 477.3 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.007297, allocations: 2.683 MB / 480 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003393/0.007637, allocations: 9.625 kB / 480 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.00809, allocations: 106 kB / 480.1 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000676/0.008766, allocations: 250.2 kB / 480.4 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.009858, allocations: 0.4886 MB / 480.9 MB, free: 11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.01064, allocations: 0.87 MB / 481.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.01101, allocations: 212.5 kB / 481.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006067/0.01162, allocations: 0.4937 MB / 482.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004359/0.01205, allocations: 325.6 kB / 482.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.01218, allocations: 88.59 kB / 482.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.01278, allocations: 318.9 kB / 483.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.013, allocations: 240.6 kB / 483.4 MB, free: 9.879 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.01335, allocations: 272.1 kB / 483.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.0148, allocations: 1.243 MB / 484.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.01481, allocations: 0 / 484.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.01481, allocations: 1.719 kB / 484.9 MB, free: 9.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.01482, allocations: 1.156 kB / 484.9 MB, free: 9.23 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.001897/0.01672, allocations: 1.071 MB / 486 MB, free: 8.473 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.01675, allocations: 9.719 kB / 486 MB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003709/0.01712, allocations: 159.4 kB / 486.1 MB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.01777, allocations: 438.6 kB / 486.6 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.01794, allocations: 198.2 kB / 486.8 MB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.01806, allocations: 68.45 kB / 486.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.01971, allocations: 0.8768 MB / 487.7 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.01973, allocations: 1.438 kB / 487.7 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.0198, allocations: 23.06 kB / 487.7 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.01982, allocations: 16.97 kB / 487.7 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.02159, allocations: 0.8195 MB / 488.6 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.0253, allocations: 1.961 MB / 490.5 MB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.02694, allocations: 0.6737 MB / 491.2 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009187/0.02785, allocations: 427.6 kB / 491.6 MB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.02828, allocations: 73.42 kB / 491.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.02831, allocations: 41.56 kB / 491.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 2.495e-06/0.02831, allocations: 3.094 kB / 491.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=62): time 0.009488/0.0378, allocations: 2.269 MB / 494 MB, free: 5.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.03794, allocations: 135.9 kB / 494.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.03911, allocations: 486.5 kB / 494.6 MB, free: 4.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.03928, allocations: 36.27 kB / 494.6 MB, free: 4.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.03964, allocations: 320.7 kB / 495 MB, free: 20.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/0.03984, allocations: 215.5 kB / 495.2 MB, free: 20.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.04007, allocations: 112.7 kB / 495.3 MB, free: 20.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.04031, allocations: 370.2 kB / 495.6 MB, free: 19.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.0411, allocations: 364.8 kB / 496 MB, free: 19.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.04192, allocations: 0.5031 MB / 496.5 MB, free: 19.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.04675, allocations: 1.849 MB / 498.3 MB, free: 18.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.04676, allocations: 0 / 498.3 MB, free: 18.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004725/0.05148, allocations: 1.443 MB / 499.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.091e-05/0.05156, allocations: 67.53 kB / 499.9 MB, free: 18.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004684/0.05624, allocations: 1.357 MB / 0.4895 GB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/0.05898, allocations: 0.6326 MB / 0.4901 GB, free: 17.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.05962, allocations: 115 kB / 0.4902 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008649/0.06826, allocations: 2.955 MB / 0.4931 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.06894, allocations: 73.7 kB / 0.4931 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.06905, allocations: 26.94 kB / 0.4932 GB, free: 15.36 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.0005562/0.06961, allocations: 286.4 kB / 0.4934 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.06984, allocations: 85.16 kB / 0.4935 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.07441, allocations: 1.392 MB / 0.4949 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.07442, allocations: 4 kB / 0.4949 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.07442, allocations: 0 / 0.4949 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.07443, allocations: 2.953 kB / 0.4949 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.0755, allocations: 0.5414 MB / 0.4954 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004866/0.08036, allocations: 1.303 MB / 0.4967 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.08089, allocations: 99.44 kB / 0.4968 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.08376, allocations: 0.6376 MB / 0.4974 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.08387, allocations: 21.11 kB / 0.4974 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009299/0.09317, allocations: 2.946 MB / 0.5003 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.09317, allocations: 0 / 0.5003 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006691/0.09986, allocations: 2.001 MB / 0.5023 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.1004, allocations: 155.3 kB / 0.5024 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.1005, allocations: 8 kB / 0.5024 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.1011, allocations: 35.95 kB / 0.5025 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.1013, allocations: 68.39 kB / 0.5025 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.1014, allocations: 19.98 kB / 0.5025 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005845/0.102, allocations: 343.1 kB / 0.5029 GB, free: 6.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.102, allocations: 0 / 0.5029 GB, free: 6.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001075/0.1031, allocations: 247.3 kB / 0.5031 GB, free: 6.223 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.002578/0.1056, allocations: 0.6099 MB / 0.5037 GB, free: 5.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003152/0.1088, allocations: 1.167 MB / 0.5048 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1088, allocations: 0 / 0.5048 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.1105, allocations: 0.6913 MB / 0.5055 GB, free: 3.918 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.1114, allocations: 113.8 kB / 0.5056 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.1152, allocations: 1.525 MB / 0.5071 GB, free: 2.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.1158, allocations: 339.2 kB / 0.5074 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005155/0.1163, allocations: 124.8 kB / 0.5076 GB, free: 1.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.1165, allocations: 56.47 kB / 0.5076 GB, free: 1.715 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1165, allocations: 0 / 0.5076 GB, free: 1.715 MB / 426.7 MB Notification: Performance of Templates: time 0.0239/0.1404, allocations: 11.59 MB / 0.5189 GB, free: 6.266 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.476852598018013]