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.001009/0.001009, allocations: 76.39 kB / 20.97 MB, free: 3.578 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.001127/0.001127, allocations: 165.4 kB / 24.28 MB, free: 280 kB / 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.9599/0.9599, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.5915/0.5915, allocations: 110.3 MB / 371.3 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 2.134e-06/2.134e-06, allocations: 0 / 475 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.631e-05, allocations: 2.312 kB / 475 MB, free: 15.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004608/0.004635, allocations: 3.245 MB / 478.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.00933, allocations: 2.751 MB / 481 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.009868, allocations: 7.75 kB / 481 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.01038, allocations: 108.1 kB / 481.1 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008958/0.01128, allocations: 244.1 kB / 481.4 MB, free: 11.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.01268, allocations: 0.4931 MB / 481.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.01379, allocations: 0.8704 MB / 482.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.01426, allocations: 210.7 kB / 482.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000893/0.01516, allocations: 0.4957 MB / 483.4 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.01583, allocations: 330.2 kB / 483.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.01605, allocations: 90.12 kB / 483.8 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009094/0.01696, allocations: 319.1 kB / 484.2 MB, free: 9.895 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.01721, allocations: 246.4 kB / 484.4 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.01765, allocations: 266 kB / 484.7 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.01934, allocations: 0.8726 MB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.01934, allocations: 1.406 kB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.01934, allocations: 0 / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.401e-05/0.01938, allocations: 0.6562 kB / 485.5 MB, free: 9.188 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.00245/0.02183, allocations: 1.178 MB / 486.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.02188, allocations: 9.406 kB / 486.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004823/0.02236, allocations: 155.7 kB / 486.9 MB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.02311, allocations: 438.7 kB / 487.3 MB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.02327, allocations: 197.8 kB / 487.5 MB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.0234, allocations: 69.58 kB / 487.6 MB, free: 7.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.02472, allocations: 0.6404 MB / 488.2 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.02475, allocations: 5.547 kB / 488.2 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.346e-05/0.02482, allocations: 25.75 kB / 488.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.02484, allocations: 14.78 kB / 488.2 MB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.0259, allocations: 432 kB / 488.7 MB, free: 7.305 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/0.02919, allocations: 1.838 MB / 490.5 MB, free: 22.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008033/0.02999, allocations: 493.7 kB / 491 MB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.03033, allocations: 238.2 kB / 491.2 MB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.03059, allocations: 76.92 kB / 491.3 MB, free: 21.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.03062, allocations: 41.86 kB / 491.3 MB, free: 21.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=62): time 2.635e-06/0.03062, allocations: 0 / 491.3 MB, free: 21.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.002628/0.03325, allocations: 1.309 MB / 492.6 MB, free: 21.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.03329, allocations: 145.7 kB / 492.8 MB, free: 21.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.03367, allocations: 470.1 kB / 493.3 MB, free: 21.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.0337, allocations: 31.95 kB / 493.3 MB, free: 21.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.03385, allocations: 376.1 kB / 493.6 MB, free: 20.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.03396, allocations: 215.1 kB / 493.9 MB, free: 20.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.03409, allocations: 117.4 kB / 494 MB, free: 20.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.03425, allocations: 0.5443 MB / 494.5 MB, free: 20.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.0345, allocations: 186.7 kB / 494.7 MB, free: 20 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.03478, allocations: 356.8 kB / 495 MB, free: 19.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.03551, allocations: 0.6378 MB / 495.7 MB, free: 19.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.03551, allocations: 2.406 kB / 495.7 MB, free: 19.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001455/0.03697, allocations: 0.8828 MB / 496.6 MB, free: 19.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.03701, allocations: 70.09 kB / 496.6 MB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001306/0.03832, allocations: 0.7841 MB / 497.4 MB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008171/0.03913, allocations: 370.9 kB / 497.8 MB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.03944, allocations: 113.3 kB / 497.9 MB, free: 18.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.04135, allocations: 2.125 MB / 0.4883 GB, free: 16.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.04162, allocations: 64.23 kB / 0.4884 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.04166, allocations: 26.11 kB / 0.4884 GB, free: 16.79 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.0002657/0.04192, allocations: 224.5 kB / 0.4886 GB, free: 16.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.04203, allocations: 84.75 kB / 0.4887 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.04347, allocations: 0.8293 MB / 0.4895 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.04347, allocations: 6.438 kB / 0.4895 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.04348, allocations: 0.8438 kB / 0.4895 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.04348, allocations: 3.375 kB / 0.4895 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.04399, allocations: 0.4903 MB / 0.49 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.001766/0.04576, allocations: 0.7352 MB / 0.4907 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.04615, allocations: 92.56 kB / 0.4908 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.04727, allocations: 380.7 kB / 0.4912 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.04733, allocations: 16.33 kB / 0.4912 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.04988, allocations: 2.102 MB / 0.4932 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.04988, allocations: 0.7031 kB / 0.4932 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.0527, allocations: 1.167 MB / 0.4944 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.05304, allocations: 141.4 kB / 0.4945 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.421e-05/0.05313, allocations: 13.05 kB / 0.4945 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.05346, allocations: 24.5 kB / 0.4945 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.05367, allocations: 51.33 kB / 0.4946 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.05374, allocations: 22.75 kB / 0.4946 GB, free: 13.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003965/0.05413, allocations: 303.7 kB / 0.4949 GB, free: 13.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.05413, allocations: 0 / 0.4949 GB, free: 13.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009636/0.0551, allocations: 249 kB / 0.4951 GB, free: 13.06 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.001658/0.05676, allocations: 0.5754 MB / 0.4957 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.05842, allocations: 0.8688 MB / 0.4965 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.05842, allocations: 4 kB / 0.4965 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.05932, allocations: 0.5625 MB / 0.4971 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.05996, allocations: 114.2 kB / 0.4972 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.06278, allocations: 1.266 MB / 0.4984 GB, free: 10.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.06298, allocations: 167.9 kB / 0.4986 GB, free: 9.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.06342, allocations: 120.4 kB / 0.4987 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.06361, allocations: 52.56 kB / 0.4988 GB, free: 9.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/0.06361, allocations: 0 / 0.4988 GB, free: 9.82 MB / 426.7 MB Notification: Performance of Templates: time 0.0211/0.08471, allocations: 11.71 MB / 0.5102 GB, free: 15.74 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.169726413907483]