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.0008718/0.0008718, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007467/0.0007467, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.897/0.897, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5531/0.5531, allocations: 110.2 MB / 370.2 MB, free: 12.64 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 3.136e-06/3.136e-06, allocations: 0 / 0.5484 GB, free: 8.43 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.971e-05, allocations: 10.22 kB / 0.5484 GB, free: 8.418 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.003818/0.003848, allocations: 3.032 MB / 0.5513 GB, free: 5.363 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.00683, allocations: 2.661 MB / 0.5539 GB, free: 2.691 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.007035, allocations: 8 kB / 0.5539 GB, free: 2.684 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.007427, allocations: 107 kB / 0.554 GB, free: 2.578 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.007928, allocations: 258.2 kB / 0.5543 GB, free: 2.324 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.008605, allocations: 490.5 kB / 0.5547 GB, free: 1.844 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.009268, allocations: 0.873 MB / 0.5556 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.009589, allocations: 209.9 kB / 0.5558 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.01006, allocations: 0.5069 MB / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.01043, allocations: 311.3 kB / 0.5566 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.453e-05/0.01052, allocations: 91.98 kB / 0.5567 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.01086, allocations: 315.5 kB / 0.557 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.01104, allocations: 247.2 kB / 0.5572 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.01124, allocations: 267.3 kB / 0.5575 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.01257, allocations: 1.242 MB / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01257, allocations: 3.938 kB / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01258, allocations: 0 / 0.5587 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01258, allocations: 0 / 0.5587 GB, free: 13.8 MB / 490.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.001347/0.01393, allocations: 1.073 MB / 0.5597 GB, free: 12.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.01398, allocations: 12.03 kB / 0.5597 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.01417, allocations: 108.4 kB / 0.5599 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.01469, allocations: 439.2 kB / 0.5603 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.01484, allocations: 194.4 kB / 0.5605 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.391e-05/0.01492, allocations: 68.08 kB / 0.5605 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.01594, allocations: 0.8809 MB / 0.5614 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01596, allocations: 0 / 0.5614 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.016, allocations: 28 kB / 0.5614 GB, free: 10.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.01602, allocations: 12 kB / 0.5614 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.0171, allocations: 0.8264 MB / 0.5622 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.01941, allocations: 1.933 MB / 0.5641 GB, free: 8.059 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.02075, allocations: 0.6849 MB / 0.5648 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.0213, allocations: 423.8 kB / 0.5652 GB, free: 6.934 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.02155, allocations: 68.42 kB / 0.5653 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.02158, allocations: 39.06 kB / 0.5653 GB, free: 6.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=62): time 1.943e-06/0.02158, allocations: 0 / 0.5653 GB, free: 6.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=62): time 0.004295/0.02588, allocations: 2.255 MB / 0.5675 GB, free: 4.535 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.806e-05/0.02595, allocations: 137 kB / 0.5676 GB, free: 4.371 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.02633, allocations: 485.8 kB / 0.5681 GB, free: 3.887 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.02637, allocations: 41.7 kB / 0.5681 GB, free: 3.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.02654, allocations: 324.9 kB / 0.5684 GB, free: 3.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.02666, allocations: 214.1 kB / 0.5686 GB, free: 3.309 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.02679, allocations: 114.1 kB / 0.5687 GB, free: 3.191 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.02691, allocations: 366.7 kB / 0.5691 GB, free: 2.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.02736, allocations: 364.4 kB / 0.5694 GB, free: 2.453 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005073/0.02786, allocations: 0.5016 MB / 0.5699 GB, free: 1.902 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002969/0.03083, allocations: 1.842 MB / 0.5717 GB, free: 0 / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.03084, allocations: 0 / 0.5717 GB, free: 0 / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002211/0.03305, allocations: 1.417 MB / 0.5731 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.0331, allocations: 71.33 kB / 0.5732 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002113/0.03521, allocations: 1.355 MB / 0.5745 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/0.03575, allocations: 336.5 kB / 0.5748 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.03603, allocations: 123.8 kB / 0.5749 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.04024, allocations: 2.943 MB / 0.5778 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.04046, allocations: 67.62 kB / 0.5779 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.0405, allocations: 27.98 kB / 0.5779 GB, free: 9.492 MB / 0.4948 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.0003158/0.04081, allocations: 283.9 kB / 0.5782 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.781e-05/0.04089, allocations: 59.56 kB / 0.5782 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.04351, allocations: 1.397 MB / 0.5796 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.04351, allocations: 4 kB / 0.5796 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.04352, allocations: 4 kB / 0.5796 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.04352, allocations: 4.125 kB / 0.5796 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.04404, allocations: 0.5452 MB / 0.5801 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.002107/0.04615, allocations: 1.309 MB / 0.5814 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.0464, allocations: 95.88 kB / 0.5815 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/0.04687, allocations: 332.5 kB / 0.5818 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.04691, allocations: 15.98 kB / 0.5818 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.05087, allocations: 2.93 MB / 0.5847 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.05087, allocations: 0 / 0.5847 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.05403, allocations: 1.981 MB / 0.5866 GB, free: 320 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.05423, allocations: 143.4 kB / 0.5868 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.05428, allocations: 23.92 kB / 0.5868 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.05447, allocations: 31.97 kB / 0.5868 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.0546, allocations: 68.39 kB / 0.5869 GB, free: 52 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.05463, allocations: 19.98 kB / 0.5869 GB, free: 32 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002777/0.05491, allocations: 339.1 kB / 0.5872 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.05491, allocations: 4 kB / 0.5872 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005527/0.05546, allocations: 247.3 kB / 0.5875 GB, free: 15.46 MB / 0.5105 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.001168/0.05663, allocations: 0.6222 MB / 0.5881 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.05817, allocations: 1.168 MB / 0.5892 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.05817, allocations: 0 / 0.5892 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008224/0.05899, allocations: 0.672 MB / 0.5899 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.05937, allocations: 90.58 kB / 0.59 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.06151, allocations: 1.548 MB / 0.5915 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.0618, allocations: 343.1 kB / 0.5918 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.06197, allocations: 64.45 kB / 0.5919 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/0.06197, allocations: 0 / 0.5919 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.0144/0.07636, allocations: 13.45 MB / 0.605 GB, free: 13.61 MB / 0.5261 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: 6.296002018265426] Failed to read output from testmodel.py, exit status != 0: 0.08295113313943148 0.09150905399999994 0.07726844199999994 Calling exit ...