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.001739/0.001739, allocations: 79.91 kB / 19.18 MB, free: 2.516 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.002255/0.002255, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.609/1.609, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.9957/0.9957, allocations: 110.3 MB / 369.4 MB, free: 1.164 MB / 334.1 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.745e-06/2.745e-06, allocations: 0 / 0.5476 GB, free: 9.98 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.162e-05, allocations: 5.234 kB / 0.5476 GB, free: 9.977 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.005184/0.005216, allocations: 3.033 MB / 0.5506 GB, free: 6.934 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.01035, allocations: 2.663 MB / 0.5532 GB, free: 4.27 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003101/0.01066, allocations: 11.94 kB / 0.5532 GB, free: 4.258 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.01115, allocations: 107 kB / 0.5533 GB, free: 4.152 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007683/0.01192, allocations: 255.4 kB / 0.5535 GB, free: 3.902 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.01318, allocations: 0.4938 MB / 0.554 GB, free: 3.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.01425, allocations: 0.873 MB / 0.5549 GB, free: 2.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003796/0.01463, allocations: 209.9 kB / 0.5551 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000674/0.0153, allocations: 0.499 MB / 0.5556 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.01581, allocations: 323.2 kB / 0.5559 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.01594, allocations: 91.98 kB / 0.556 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.01651, allocations: 307.6 kB / 0.5563 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.0168, allocations: 251.2 kB / 0.5565 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.01713, allocations: 263.3 kB / 0.5567 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.01876, allocations: 1.242 MB / 0.558 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.01877, allocations: 0 / 0.558 GB, free: 15.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01877, allocations: 0 / 0.558 GB, free: 15.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.01878, allocations: 0 / 0.558 GB, free: 15.37 MB / 478.1 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.002302/0.02108, allocations: 1.081 MB / 0.559 GB, free: 14.24 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.02112, allocations: 8.031 kB / 0.559 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.0214, allocations: 96.38 kB / 0.5591 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.0222, allocations: 443.2 kB / 0.5595 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.02243, allocations: 194.4 kB / 0.5597 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.02257, allocations: 68.08 kB / 0.5598 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.0244, allocations: 0.8771 MB / 0.5606 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.02442, allocations: 3.938 kB / 0.5606 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.02451, allocations: 28 kB / 0.5607 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.02453, allocations: 16 kB / 0.5607 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.02662, allocations: 0.8109 MB / 0.5615 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00404/0.03066, allocations: 1.944 MB / 0.5634 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.03241, allocations: 0.6814 MB / 0.564 GB, free: 8.934 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.03347, allocations: 423.8 kB / 0.5644 GB, free: 8.508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004174/0.03388, allocations: 64.44 kB / 0.5645 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.03392, allocations: 39.06 kB / 0.5645 GB, free: 8.398 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 2.445e-06/0.03392, allocations: 4 kB / 0.5645 GB, free: 8.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.009918/0.04384, allocations: 2.266 MB / 0.5668 GB, free: 6.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.04395, allocations: 137 kB / 0.5669 GB, free: 5.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.04464, allocations: 481.8 kB / 0.5674 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.04471, allocations: 37.7 kB / 0.5674 GB, free: 5.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.04498, allocations: 324.9 kB / 0.5677 GB, free: 5.094 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.04518, allocations: 214.1 kB / 0.5679 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.04542, allocations: 106.2 kB / 0.568 GB, free: 4.773 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.04562, allocations: 370.7 kB / 0.5684 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008617/0.04648, allocations: 368.4 kB / 0.5687 GB, free: 4.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/0.04746, allocations: 0.4976 MB / 0.5692 GB, free: 3.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005258/0.05272, allocations: 1.845 MB / 0.571 GB, free: 1.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.05272, allocations: 4 kB / 0.571 GB, free: 1.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004938/0.05766, allocations: 1.417 MB / 0.5724 GB, free: 124 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.085e-05/0.05773, allocations: 71.33 kB / 0.5724 GB, free: 40 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004866/0.0626, allocations: 1.366 MB / 0.5738 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.06361, allocations: 328.5 kB / 0.5741 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.06419, allocations: 115.8 kB / 0.5742 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/0.07345, allocations: 2.942 MB / 0.5771 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.07418, allocations: 67.58 kB / 0.5771 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.07426, allocations: 27.98 kB / 0.5772 GB, free: 11.07 MB / 494.1 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.0005783/0.07484, allocations: 284.9 kB / 0.5774 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.07499, allocations: 63.56 kB / 0.5775 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/0.07999, allocations: 1.391 MB / 0.5789 GB, free: 9.297 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.08, allocations: 4 kB / 0.5789 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.08, allocations: 0 / 0.5789 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.08001, allocations: 7.984 kB / 0.5789 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.08095, allocations: 0.5491 MB / 0.5794 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00498/0.08593, allocations: 1.305 MB / 0.5807 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.08644, allocations: 92.03 kB / 0.5808 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009711/0.08741, allocations: 336.5 kB / 0.5811 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/0.08748, allocations: 15.98 kB / 0.5811 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009088/0.09657, allocations: 2.942 MB / 0.584 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.09657, allocations: 0 / 0.584 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/0.1028, allocations: 1.974 MB / 0.5859 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.1032, allocations: 147.3 kB / 0.5861 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.983e-05/0.1033, allocations: 20 kB / 0.5861 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.1037, allocations: 31.95 kB / 0.5861 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.104, allocations: 68.33 kB / 0.5862 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.104, allocations: 23.98 kB / 0.5862 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004985/0.1045, allocations: 339.1 kB / 0.5865 GB, free: 1.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1045, allocations: 0 / 0.5865 GB, free: 1.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009726/0.1055, allocations: 247.4 kB / 0.5867 GB, free: 1.023 MB / 494.1 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.002291/0.1078, allocations: 0.6196 MB / 0.5874 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003004/0.1108, allocations: 1.16 MB / 0.5885 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1108, allocations: 4 kB / 0.5885 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/0.1125, allocations: 0.6798 MB / 0.5892 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.1131, allocations: 81.92 kB / 0.5892 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.1162, allocations: 1.5 MB / 0.5907 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1165, allocations: 343 kB / 0.591 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.117, allocations: 137.4 kB / 0.5912 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.1172, allocations: 52.47 kB / 0.5912 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1172, allocations: 0 / 0.5912 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.02262/0.1398, allocations: 11.53 MB / 0.6025 GB, free: 1.113 MB / 0.4981 GB " [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.800945416092873] Failed to read output from testmodel.py, exit status != 0: 0.14971189200878143 0.17390766900000001 0.15045150300000001 Calling exit ...