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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 109 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 190.7 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8422/0.8422, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.62 kB / 0.5961 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1319, allocations: 82.03 MB / 0.6762 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004252/0.1362, allocations: 3.231 MB / 0.6793 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003566/0.1398, allocations: 2.562 MB / 0.6818 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.14, allocations: 11.94 kB / 0.6819 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.1404, allocations: 103.1 kB / 0.682 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.1408, allocations: 198.6 kB / 0.6821 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009572/0.1418, allocations: 490.8 kB / 0.6826 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008622/0.1427, allocations: 0.8537 MB / 0.6834 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/0.1431, allocations: 329.2 kB / 0.6838 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.1435, allocations: 339.1 kB / 0.6841 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.144, allocations: 390.6 kB / 0.6845 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1441, allocations: 87.98 kB / 0.6845 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1446, allocations: 375.5 kB / 0.6849 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.1448, allocations: 235.3 kB / 0.6851 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.1452, allocations: 397.9 kB / 0.6855 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1463, allocations: 1.141 MB / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1463, allocations: 4 kB / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1463, allocations: 0 / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1463, allocations: 0 / 0.6866 GB, free: 15.73 MB / 0.5294 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.001879/0.1482, allocations: 1.103 MB / 0.6877 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1482, allocations: 12.03 kB / 0.6877 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.1485, allocations: 95.89 kB / 0.6878 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006167/0.1491, allocations: 493.6 kB / 0.6883 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1493, allocations: 94.94 kB / 0.6884 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1494, allocations: 59.91 kB / 0.6884 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.151, allocations: 0.7901 MB / 0.6892 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.151, allocations: 4 kB / 0.6892 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.1511, allocations: 24 kB / 0.6892 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1511, allocations: 16 kB / 0.6892 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.153, allocations: 0.7935 MB / 0.69 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.1568, allocations: 2.721 MB / 0.6927 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.1584, allocations: 0.7099 MB / 0.6934 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/0.1594, allocations: 438.2 kB / 0.6938 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.16, allocations: 0.5272 MB / 0.6943 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.16, allocations: 42.94 kB / 0.6943 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 4.137e-06/0.16, allocations: 3.984 kB / 0.6943 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.009043/0.1691, allocations: 2.261 MB / 0.6965 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.1692, allocations: 136.9 kB / 0.6967 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005589/0.1697, allocations: 477.7 kB / 0.6971 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.1698, allocations: 33.7 kB / 0.6972 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.17, allocations: 316.3 kB / 0.6975 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1702, allocations: 201.1 kB / 0.6977 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.1704, allocations: 114.1 kB / 0.6978 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1706, allocations: 366.8 kB / 0.6981 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000744/0.1713, allocations: 301 kB / 0.6984 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/0.1721, allocations: 399.1 kB / 0.6988 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/0.1768, allocations: 1.844 MB / 0.7006 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1768, allocations: 4 kB / 0.7006 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004439/0.1813, allocations: 1.361 MB / 0.7019 GB, free: 15.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.1813, allocations: 61.28 kB / 0.702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004258/0.1856, allocations: 1.299 MB / 0.7032 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.1865, allocations: 336.5 kB / 0.7036 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005319/0.1871, allocations: 119.8 kB / 0.7037 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008334/0.1954, allocations: 3.076 MB / 0.7067 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005347/0.196, allocations: 67.59 kB / 0.7067 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/0.1961, allocations: 23.98 kB / 0.7068 GB, free: 10.25 MB / 0.545 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.0004416/0.1965, allocations: 288.4 kB / 0.707 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.1966, allocations: 59.28 kB / 0.7071 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00452/0.2012, allocations: 1.368 MB / 0.7084 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2012, allocations: 3.984 kB / 0.7084 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00428/0.2055, allocations: 1.267 MB / 0.7097 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.2058, allocations: 216.2 kB / 0.7099 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.055e-05/0.2059, allocations: 15.94 kB / 0.7099 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004349/0.2063, allocations: 35.95 kB / 0.7099 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.2065, allocations: 60.47 kB / 0.71 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003671/0.2102, allocations: 1.223 MB / 0.7112 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002863/0.2131, allocations: 1.472 MB / 0.7126 GB, free: 4.137 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008337/0.2139, allocations: 416.2 kB / 0.713 GB, free: 3.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003822/0.2143, allocations: 331.1 kB / 0.7133 GB, free: 3.41 MB / 0.545 GB Notification: Performance of Backend: time 5.11e-07/0.2143, allocations: 4 kB / 0.7133 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003461/0.2178, allocations: 1.401 MB / 0.7147 GB, free: 2.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.002063/0.2199, allocations: 1.738 MB / 0.7164 GB, free: 384 kB / 0.545 GB Notification: Performance of Templates: time 0.018/0.2379, allocations: 11.62 MB / 0.7277 GB, free: 4.797 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile (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)