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.001316/0.001316, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001547/0.001547, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.781 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.8921/0.8921, allocations: 145 MB / 457.4 MB, free: 15.27 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.002054/0.002054, allocations: 66.34 kB / 0.6335 GB, free: 6.273 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1627, allocations: 87.89 MB / 0.7193 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004756/0.1674, allocations: 3.023 MB / 0.7223 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004386/0.1718, allocations: 2.669 MB / 0.7249 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002773/0.1721, allocations: 7.938 kB / 0.7249 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.1725, allocations: 99.09 kB / 0.725 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006176/0.1731, allocations: 250.4 kB / 0.7252 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1742, allocations: 498.7 kB / 0.7257 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009408/0.1751, allocations: 0.8538 MB / 0.7265 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.1755, allocations: 205.8 kB / 0.7267 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004647/0.1759, allocations: 362.9 kB / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1764, allocations: 362.6 kB / 0.7274 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1766, allocations: 92 kB / 0.7275 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.1771, allocations: 311.7 kB / 0.7278 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.1774, allocations: 239.3 kB / 0.728 GB, free: 5.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.1777, allocations: 330.4 kB / 0.7283 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1791, allocations: 1.187 MB / 0.7295 GB, free: 3.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1791, allocations: 0 / 0.7295 GB, free: 3.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1791, allocations: 0 / 0.7295 GB, free: 3.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.1791, allocations: 0 / 0.7295 GB, free: 3.914 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.002013/0.1811, allocations: 1.091 MB / 0.7305 GB, free: 2.777 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1811, allocations: 8.031 kB / 0.7306 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.1814, allocations: 92.42 kB / 0.7306 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007721/0.1822, allocations: 448 kB / 0.7311 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.1824, allocations: 201.7 kB / 0.7313 GB, free: 1.988 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.1825, allocations: 60 kB / 0.7313 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.1842, allocations: 0.8809 MB / 0.7322 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1842, allocations: 0 / 0.7322 GB, free: 1.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/0.1843, allocations: 28 kB / 0.7322 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1843, allocations: 15.98 kB / 0.7322 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/0.1862, allocations: 0.8186 MB / 0.733 GB, free: 144 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.1901, allocations: 1.94 MB / 0.7349 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.1917, allocations: 0.675 MB / 0.7356 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.1927, allocations: 423.8 kB / 0.736 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000406/0.1931, allocations: 64.38 kB / 0.736 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.1931, allocations: 42.94 kB / 0.7361 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=62): time 2.314e-06/0.1931, allocations: 0 / 0.7361 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=62): time 0.008936/0.202, allocations: 2.262 MB / 0.7383 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2022, allocations: 133 kB / 0.7384 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/0.2029, allocations: 489.8 kB / 0.7389 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.886e-05/0.203, allocations: 41.64 kB / 0.7389 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.2032, allocations: 324.8 kB / 0.7392 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.2035, allocations: 214.1 kB / 0.7394 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.2037, allocations: 110.2 kB / 0.7395 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2039, allocations: 366.8 kB / 0.7399 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/0.2047, allocations: 360.4 kB / 0.7402 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/0.2056, allocations: 0.5016 MB / 0.7407 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/0.2104, allocations: 1.846 MB / 0.7425 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2104, allocations: 0 / 0.7425 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004484/0.2149, allocations: 1.432 MB / 0.7439 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.484e-05/0.215, allocations: 63.41 kB / 0.744 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004282/0.2193, allocations: 1.354 MB / 0.7453 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009407/0.2202, allocations: 336.5 kB / 0.7456 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.2207, allocations: 115.8 kB / 0.7457 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3089/0.5296, allocations: 2.942 MB / 0.7486 GB, free: 29.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.5303, allocations: 66.44 kB / 0.7487 GB, free: 29.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.5303, allocations: 25.66 kB / 0.7487 GB, free: 29.21 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.0004143/0.5308, allocations: 290.5 kB / 0.749 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.5309, allocations: 59.77 kB / 0.749 GB, free: 29.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.5352, allocations: 1.386 MB / 0.7504 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5352, allocations: 6.938 kB / 0.7504 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5352, allocations: 3.75 kB / 0.7504 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5353, allocations: 7.859 kB / 0.7504 GB, free: 28.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.536, allocations: 0.5366 MB / 0.7509 GB, free: 28.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004416/0.5404, allocations: 1.311 MB / 0.7522 GB, free: 28.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.5409, allocations: 92.61 kB / 0.7523 GB, free: 28.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.5418, allocations: 329.8 kB / 0.7526 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.5418, allocations: 20.69 kB / 0.7526 GB, free: 28.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/0.5497, allocations: 2.94 MB / 0.7555 GB, free: 27.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5497, allocations: 0 / 0.7555 GB, free: 27.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005573/0.5552, allocations: 1.98 MB / 0.7574 GB, free: 27.26 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.5556, allocations: 144.2 kB / 0.7576 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.5557, allocations: 11.98 kB / 0.7576 GB, free: 27.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.5561, allocations: 40.72 kB / 0.7576 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.5563, allocations: 64.61 kB / 0.7577 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.5563, allocations: 21.98 kB / 0.7577 GB, free: 27.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003965/0.5567, allocations: 339.7 kB / 0.758 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5567, allocations: 0 / 0.758 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000773/0.5575, allocations: 248 kB / 0.7583 GB, free: 27.14 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.002026/0.5595, allocations: 0.6118 MB / 0.7589 GB, free: 26.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002638/0.5622, allocations: 1.164 MB / 0.76 GB, free: 26.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5622, allocations: 1.094 kB / 0.76 GB, free: 26.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.5636, allocations: 0.6855 MB / 0.7607 GB, free: 26.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.5642, allocations: 87.12 kB / 0.7608 GB, free: 26.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.567, allocations: 1.58 MB / 0.7623 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.5676, allocations: 337.9 kB / 0.7626 GB, free: 25.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004713/0.568, allocations: 137.9 kB / 0.7628 GB, free: 25.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.5682, allocations: 53.25 kB / 0.7628 GB, free: 25.43 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/0.5682, allocations: 0.7656 kB / 0.7628 GB, free: 25.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.01946/0.5877, allocations: 12.25 MB / 0.7748 GB, free: 21.73 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: 7.479558654129505] Failed to read output from testmodel.py, exit status != 0: 0.5962655954062939 0.606318306 0.42510815100000005 Calling exit ...