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.001573/0.001573, allocations: 104.2 kB / 16.41 MB, free: 6.508 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.001791/0.001791, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.306/1.306, 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.841/0.841, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.48 kB / 0.5961 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, 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.004151/0.132, allocations: 3.227 MB / 0.6793 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003508/0.1356, allocations: 2.558 MB / 0.6818 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1358, allocations: 11.94 kB / 0.6818 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.1362, allocations: 107 kB / 0.682 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.1367, allocations: 202.7 kB / 0.6821 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.1377, allocations: 485.9 kB / 0.6826 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.1385, allocations: 0.8576 MB / 0.6834 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.139, allocations: 317.2 kB / 0.6837 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.1394, allocations: 347 kB / 0.6841 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.1399, allocations: 390.6 kB / 0.6845 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.1401, allocations: 88 kB / 0.6845 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.1406, allocations: 367.6 kB / 0.6849 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.1408, allocations: 239.3 kB / 0.6851 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.1411, allocations: 398 kB / 0.6855 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.1421, allocations: 1.145 MB / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1421, allocations: 0 / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1421, allocations: 0 / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.1421, allocations: 4 kB / 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.001771/0.1439, allocations: 1.115 MB / 0.6877 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.144, allocations: 8.031 kB / 0.6877 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.1442, allocations: 87.91 kB / 0.6878 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006395/0.1449, allocations: 481.7 kB / 0.6883 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.145, allocations: 102.9 kB / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.1451, allocations: 59.91 kB / 0.6884 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1466, allocations: 0.8018 MB / 0.6892 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1467, allocations: 0 / 0.6892 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-05/0.1468, allocations: 20 kB / 0.6892 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1468, allocations: 16 kB / 0.6892 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.1486, allocations: 0.8053 MB / 0.69 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.1524, allocations: 2.702 MB / 0.6927 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.1539, allocations: 0.7134 MB / 0.6934 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009063/0.1548, allocations: 438.2 kB / 0.6938 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/0.1554, allocations: 0.5272 MB / 0.6943 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.1555, allocations: 42.94 kB / 0.6943 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.425e-06/0.1555, allocations: 0 / 0.6943 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.008791/0.1643, allocations: 2.261 MB / 0.6965 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1643, allocations: 137 kB / 0.6967 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.1649, allocations: 477.7 kB / 0.6971 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.165, allocations: 41.7 kB / 0.6972 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.1652, allocations: 308.3 kB / 0.6975 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.1653, allocations: 201.1 kB / 0.6976 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1655, allocations: 118.1 kB / 0.6978 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1657, allocations: 362.8 kB / 0.6981 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/0.1664, allocations: 313 kB / 0.6984 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.1672, allocations: 399.1 kB / 0.6988 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004582/0.1718, allocations: 1.832 MB / 0.7006 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1718, allocations: 0 / 0.7006 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004374/0.1762, allocations: 1.365 MB / 0.7019 GB, free: 15.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.1763, allocations: 65.28 kB / 0.702 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004265/0.1806, allocations: 1.303 MB / 0.7032 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000893/0.1815, allocations: 336.5 kB / 0.7036 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.182, allocations: 115.8 kB / 0.7037 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008065/0.1901, allocations: 3.084 MB / 0.7067 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005586/0.1906, allocations: 71.5 kB / 0.7067 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.1907, allocations: 27.98 kB / 0.7068 GB, free: 10.24 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.0004599/0.1912, allocations: 281.8 kB / 0.707 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1913, allocations: 51.34 kB / 0.7071 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/0.1957, allocations: 1.361 MB / 0.7084 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1957, allocations: 3.984 kB / 0.7084 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004092/0.1998, allocations: 1.267 MB / 0.7097 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2001, allocations: 216.4 kB / 0.7099 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.2002, allocations: 23.92 kB / 0.7099 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.2006, allocations: 31.95 kB / 0.7099 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.2008, allocations: 60.48 kB / 0.71 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003501/0.2043, allocations: 1.234 MB / 0.7112 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002711/0.207, allocations: 1.46 MB / 0.7126 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008082/0.2078, allocations: 416.2 kB / 0.713 GB, free: 3.738 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003454/0.2082, allocations: 335.1 kB / 0.7133 GB, free: 3.414 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/0.2082, allocations: 4 kB / 0.7133 GB, free: 3.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003262/0.2115, allocations: 1.401 MB / 0.7147 GB, free: 2.184 MB / 0.545 GB Notification: Performance of SimCode: time 0.001998/0.2135, allocations: 1.743 MB / 0.7164 GB, free: 384 kB / 0.545 GB Notification: Performance of Templates: time 0.01788/0.2314, allocations: 11.61 MB / 0.7277 GB, free: 4.805 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)