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.0008488/0.0008488, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.000852/0.000852, allocations: 171.4 kB / 24.87 MB, free: 8.863 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.8665/0.8665, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.5644/0.5644, allocations: 110.2 MB / 372.1 MB, free: 12.36 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.603e-06/1.603e-06, allocations: 3.938 kB / 476.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149e-05/1.309e-05, allocations: 3.734 kB / 476.3 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.002748/0.002761, allocations: 3.204 MB / 479.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.005351, allocations: 2.741 MB / 482.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.005558, allocations: 9.375 kB / 482.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.005875, allocations: 102.5 kB / 482.3 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004236/0.006299, allocations: 247.3 kB / 482.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.006974, allocations: 0.4936 MB / 483.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005408/0.007515, allocations: 0.8694 MB / 483.9 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.007767, allocations: 211.3 kB / 484.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.008182, allocations: 0.4911 MB / 484.6 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.008493, allocations: 337.6 kB / 485 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.00858, allocations: 87.38 kB / 485 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.008922, allocations: 315.6 kB / 485.4 MB, free: 9.727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.009059, allocations: 245.3 kB / 485.6 MB, free: 9.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.009235, allocations: 276.6 kB / 485.9 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000675/0.009909, allocations: 0.8642 MB / 486.7 MB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.009912, allocations: 4 kB / 486.7 MB, free: 9.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009913, allocations: 3.938 kB / 486.7 MB, free: 9.012 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.009923, allocations: 0 / 486.7 MB, free: 9.012 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.001033/0.01096, allocations: 1.181 MB / 487.9 MB, free: 8.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.01098, allocations: 9.25 kB / 487.9 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.0112, allocations: 152.5 kB / 488.1 MB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.01157, allocations: 432 kB / 488.5 MB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.01168, allocations: 195.5 kB / 488.7 MB, free: 7.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.01175, allocations: 71.92 kB / 488.8 MB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.01232, allocations: 0.5923 MB / 489.4 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.01234, allocations: 0 / 489.4 MB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.091e-05/0.01238, allocations: 26.94 kB / 489.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01239, allocations: 13.72 kB / 489.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.01282, allocations: 367.4 kB / 489.7 MB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.01455, allocations: 1.818 MB / 491.6 MB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.01515, allocations: 463.9 kB / 492 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.01539, allocations: 215.1 kB / 492.2 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.0156, allocations: 72.12 kB / 492.3 MB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.01562, allocations: 42.58 kB / 492.3 MB, free: 5.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=62): time 1.683e-06/0.01563, allocations: 0 / 492.3 MB, free: 5.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=62): time 0.002282/0.01791, allocations: 1.084 MB / 493.4 MB, free: 5.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.01793, allocations: 139.8 kB / 493.6 MB, free: 5.363 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.01828, allocations: 457.1 kB / 494 MB, free: 21.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.01831, allocations: 36.98 kB / 494 MB, free: 21.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01845, allocations: 379 kB / 494.4 MB, free: 20.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.01854, allocations: 214.8 kB / 494.6 MB, free: 20.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.01867, allocations: 118.8 kB / 494.7 MB, free: 20.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01879, allocations: 0.5467 MB / 495.3 MB, free: 19.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.01896, allocations: 152 kB / 495.4 MB, free: 19.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01917, allocations: 336.5 kB / 495.8 MB, free: 19.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005264/0.01969, allocations: 0.5638 MB / 496.3 MB, free: 19.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.0197, allocations: 0.9062 kB / 496.3 MB, free: 19.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001172/0.02087, allocations: 0.7754 MB / 497.1 MB, free: 19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.02091, allocations: 71.05 kB / 497.2 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001032/0.02194, allocations: 0.6622 MB / 497.8 MB, free: 18.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006852/0.02262, allocations: 333.5 kB / 498.2 MB, free: 18.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.02289, allocations: 112.3 kB / 498.3 MB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.02455, allocations: 2.03 MB / 0.4886 GB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.02474, allocations: 56.47 kB / 0.4886 GB, free: 16.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.02478, allocations: 21.53 kB / 0.4887 GB, free: 16.85 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.0002103/0.02499, allocations: 223.8 kB / 0.4889 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.0251, allocations: 83.02 kB / 0.4889 GB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.0263, allocations: 0.7222 MB / 0.4896 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.02631, allocations: 7.031 kB / 0.4897 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.02631, allocations: 1.25 kB / 0.4897 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.02632, allocations: 3.469 kB / 0.4897 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.02669, allocations: 414.8 kB / 0.4901 GB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001016/0.0277, allocations: 0.6201 MB / 0.4907 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.02794, allocations: 99.83 kB / 0.4908 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006402/0.02858, allocations: 335.2 kB / 0.4911 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.02861, allocations: 22.14 kB / 0.4911 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.03012, allocations: 2.014 MB / 0.4931 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.03012, allocations: 0 / 0.4931 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.03153, allocations: 1.026 MB / 0.4941 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.03171, allocations: 129.7 kB / 0.4942 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.802e-05/0.03177, allocations: 11.09 kB / 0.4942 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.03194, allocations: 23.03 kB / 0.4942 GB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.03204, allocations: 56.02 kB / 0.4943 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.03207, allocations: 18.05 kB / 0.4943 GB, free: 13.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001811/0.03225, allocations: 281.7 kB / 0.4946 GB, free: 13.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03225, allocations: 0.875 kB / 0.4946 GB, free: 13.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004757/0.03273, allocations: 244 kB / 0.4948 GB, free: 13.3 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.001042/0.03377, allocations: 0.5701 MB / 0.4954 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.03468, allocations: 0.8033 MB / 0.4961 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.03468, allocations: 1.125 kB / 0.4961 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.03515, allocations: 0.5274 MB / 0.4967 GB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.03549, allocations: 119.7 kB / 0.4968 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.03688, allocations: 1.247 MB / 0.498 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.03702, allocations: 160.5 kB / 0.4981 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.03721, allocations: 86.95 kB / 0.4982 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.03748, allocations: 192.3 kB / 0.4984 GB, free: 10.51 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03748, allocations: 0 / 0.4984 GB, free: 10.51 MB / 426.7 MB Notification: Performance of Templates: time 0.01432/0.0518, allocations: 12.92 MB / 0.511 GB, free: 15.52 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: 4.461267535109073]