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.001518/0.001518, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001709/0.001709, allocations: 221.7 kB / 23 MB, free: 4.914 MB / 14.72 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 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.8821/0.8821, allocations: 145 MB / 458.2 MB, free: 15.26 MB / 366.1 MB " [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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 66.92 kB / 0.6342 GB, free: 6.305 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1659, allocations: 87.89 MB / 0.72 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004756/0.1706, allocations: 3.026 MB / 0.723 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.175, allocations: 2.669 MB / 0.7256 GB, free: 8.703 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.1753, allocations: 15.94 kB / 0.7256 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.1757, allocations: 99.09 kB / 0.7257 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006346/0.1763, allocations: 246.4 kB / 0.726 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.1774, allocations: 494 kB / 0.7264 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009294/0.1783, allocations: 0.8538 MB / 0.7273 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003918/0.1787, allocations: 209.8 kB / 0.7275 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.1792, allocations: 362.9 kB / 0.7278 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1797, allocations: 358.6 kB / 0.7281 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.1798, allocations: 88 kB / 0.7282 GB, free: 6.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.1804, allocations: 319.7 kB / 0.7285 GB, free: 5.691 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.1807, allocations: 243.3 kB / 0.7288 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003334/0.181, allocations: 318.4 kB / 0.7291 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1823, allocations: 1.203 MB / 0.7302 GB, free: 3.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1823, allocations: 0 / 0.7302 GB, free: 3.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1823, allocations: 0 / 0.7302 GB, free: 3.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.1823, allocations: 0 / 0.7302 GB, free: 3.934 MB / 0.545 GB 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.002049/0.1844, allocations: 1.075 MB / 0.7313 GB, free: 2.812 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.1844, allocations: 19.97 kB / 0.7313 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.1847, allocations: 92.42 kB / 0.7314 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.1854, allocations: 448 kB / 0.7318 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.1857, allocations: 201.7 kB / 0.732 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.1858, allocations: 60 kB / 0.7321 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.1874, allocations: 0.8809 MB / 0.7329 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1874, allocations: 0 / 0.7329 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/0.1875, allocations: 24 kB / 0.733 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1875, allocations: 12 kB / 0.733 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.1893, allocations: 0.8264 MB / 0.7338 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.1932, allocations: 1.944 MB / 0.7357 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.1948, allocations: 0.6702 MB / 0.7363 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/0.1957, allocations: 423.8 kB / 0.7367 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.1961, allocations: 64.38 kB / 0.7368 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.1961, allocations: 46.94 kB / 0.7368 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.555e-06/0.1961, allocations: 0 / 0.7368 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.008655/0.2048, allocations: 2.25 MB / 0.739 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/0.2049, allocations: 141 kB / 0.7392 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.2055, allocations: 489.8 kB / 0.7396 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.2056, allocations: 37.7 kB / 0.7397 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.2058, allocations: 328.8 kB / 0.74 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.206, allocations: 207.1 kB / 0.7402 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2062, allocations: 110.2 kB / 0.7403 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.2064, allocations: 366.8 kB / 0.7406 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007761/0.2072, allocations: 364.4 kB / 0.741 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/0.2081, allocations: 0.5016 MB / 0.7415 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004686/0.2128, allocations: 1.851 MB / 0.7433 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.2128, allocations: 0 / 0.7433 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004395/0.2172, allocations: 1.428 MB / 0.7447 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.989e-05/0.2172, allocations: 59.41 kB / 0.7447 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004212/0.2214, allocations: 1.362 MB / 0.7461 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009073/0.2223, allocations: 332.5 kB / 0.7464 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.2229, allocations: 119.8 kB / 0.7465 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3161/0.5389, allocations: 2.934 MB / 0.7494 GB, free: 29.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.5395, allocations: 64.83 kB / 0.7494 GB, free: 29.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.5396, allocations: 28.72 kB / 0.7495 GB, free: 29.26 MB / 0.5606 GB 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.0003854/0.5399, allocations: 293.3 kB / 0.7497 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.5401, allocations: 62.56 kB / 0.7498 GB, free: 29.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004107/0.5442, allocations: 1.387 MB / 0.7511 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5442, allocations: 3.812 kB / 0.7512 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5442, allocations: 3.75 kB / 0.7512 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5442, allocations: 4.953 kB / 0.7512 GB, free: 29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.5449, allocations: 0.5364 MB / 0.7517 GB, free: 28.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004139/0.5491, allocations: 1.311 MB / 0.753 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.5495, allocations: 90.72 kB / 0.7531 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008412/0.5504, allocations: 329.4 kB / 0.7534 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/0.5504, allocations: 19.8 kB / 0.7534 GB, free: 28.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00748/0.5579, allocations: 2.943 MB / 0.7563 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5579, allocations: 0 / 0.7563 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/0.5634, allocations: 1.989 MB / 0.7582 GB, free: 27.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.5637, allocations: 142.2 kB / 0.7583 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.704e-05/0.5638, allocations: 13.34 kB / 0.7583 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.5642, allocations: 32.55 kB / 0.7584 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.5644, allocations: 61 kB / 0.7584 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.357e-05/0.5644, allocations: 28.44 kB / 0.7585 GB, free: 27.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003896/0.5648, allocations: 339.9 kB / 0.7588 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5648, allocations: 0 / 0.7588 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007227/0.5656, allocations: 249.8 kB / 0.759 GB, free: 27.19 MB / 0.5606 GB 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.001968/0.5675, allocations: 0.6096 MB / 0.7596 GB, free: 27.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002536/0.5701, allocations: 1.167 MB / 0.7608 GB, free: 26.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5701, allocations: 0 / 0.7608 GB, free: 26.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.5715, allocations: 0.6837 MB / 0.7614 GB, free: 26.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.5721, allocations: 87.95 kB / 0.7615 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002776/0.5748, allocations: 1.629 MB / 0.7631 GB, free: 25.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.5753, allocations: 342.1 kB / 0.7634 GB, free: 25.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.5756, allocations: 59.91 kB / 0.7635 GB, free: 25.44 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5756, allocations: 1.188 kB / 0.7635 GB, free: 25.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.01899/0.5945, allocations: 13.4 MB / 0.7766 GB, free: 20.87 MB / 0.5606 GB " [Timeout remaining time 659] 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: 9.783881376963109] Failed to read output from testmodel.py, exit status != 0: 0.6030495492741466 0.6129452390000001 0.42845188 Calling exit ...