Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.752/0.752, allocations: 132.4 MB / 139.7 MB, free: 15.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001396/0.001396, allocations: 174.3 kB / 171.6 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.685/1.685, allocations: 170.5 MB / 373.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001741/0.00174, allocations: 115.9 kB / 444.4 MB, free: 9.395 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.5543/0.5543, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.046/5.601, allocations: 2.409 GB / 3.075 GB, free: 4.684 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/5.601, allocations: 91.94 kB / 3.075 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.63/10.23, allocations: 1.086 GB / 4.161 GB, free: 38.63 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.002541/10.23, allocations: 355 kB / 4.162 GB, free: 38.58 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2780 * Number of variables: 2780 Notification: Performance of Generate backend data structure: time 0.05203/10.29, allocations: 12.48 MB / 4.174 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 8.394e-05/10.29, allocations: 10.16 kB / 4.174 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02582/10.31, allocations: 3.325 MB / 4.177 GB, free: 33.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09743/10.41, allocations: 31.81 MB / 4.208 GB, free: 31.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001075/10.41, allocations: 347.4 kB / 4.209 GB, free: 31.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007661/10.42, allocations: 0.6623 MB / 4.209 GB, free: 31.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03867/10.46, allocations: 12.78 MB / 4.222 GB, free: 31.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04952/10.51, allocations: 13.92 MB / 4.235 GB, free: 29.03 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009884/10.51, allocations: 46.88 kB / 4.235 GB, free: 29.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005016/10.51, allocations: 23.78 kB / 4.235 GB, free: 29.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004466/10.51, allocations: 362.5 kB / 4.236 GB, free: 29.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/10.63, allocations: 59.37 MB / 4.294 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/10.64, allocations: 5.404 MB / 4.299 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0137/10.66, allocations: 5.331 MB / 4.304 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002893/10.66, allocations: 1.573 MB / 4.306 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01183/10.67, allocations: 5.308 MB / 4.311 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=736): time 1.415e-05/10.67, allocations: 0 / 4.311 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of matching and sorting (n=772): time 0.4608/11.13, allocations: 27.88 MB / 4.338 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/11.13, allocations: 348.4 kB / 4.338 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02057/11.15, allocations: 9.177 MB / 4.347 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.003201/11.16, allocations: 34.02 kB / 4.347 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.008155/11.17, allocations: 3.951 MB / 4.351 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.008908/11.17, allocations: 2.567 MB / 4.354 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/11.18, allocations: 0 / 4.354 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006616/11.18, allocations: 0.682 MB / 4.354 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008255/11.19, allocations: 4.737 MB / 4.359 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/11.2, allocations: 6.86 MB / 4.366 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02374/11.22, allocations: 7.915 MB / 4.374 GB, free: 108 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/11.22, allocations: 18.97 kB / 4.374 GB, free: 108 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1183) (initialization): time 0.05562/11.28, allocations: 16.15 MB / 4.389 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.006132/11.28, allocations: 32.07 MB / 4.421 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003015/11.28, allocations: 60.47 kB / 4.421 GB, free: 74.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/11.29, allocations: 2.061 MB / 4.423 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/11.31, allocations: 2.402 MB / 4.425 GB, free: 74.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/11.33, allocations: 11.52 MB / 4.436 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/11.35, allocations: 0.7143 MB / 4.437 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004013/11.35, allocations: 454.2 kB / 4.437 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/11.35, allocations: 3.562 kB / 4.437 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05267/11.4, allocations: 15.11 MB / 4.452 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003038/11.4, allocations: 62.38 kB / 4.452 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/11.41, allocations: 2.177 MB / 4.454 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/11.43, allocations: 2.374 MB / 4.457 GB, free: 70.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/11.45, allocations: 11.54 MB / 4.468 GB, free: 66.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01635/11.46, allocations: 0.6768 MB / 4.469 GB, free: 66.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004213/11.47, allocations: 455 kB / 4.469 GB, free: 66.44 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: weaDat.tWetBul_TDryBulXi.XiSat:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 270 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1112): * Single equations (assignments): 1107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 17,1 1,1 53} Notification: Performance of prepare postOptimizeDAE: time 0.006544/11.48, allocations: 322.9 kB / 4.469 GB, free: 66.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00568/11.48, allocations: 0.9916 MB / 4.47 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05245/11.53, allocations: 15.16 MB / 4.485 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000193/11.53, allocations: 99.89 kB / 4.485 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.428e-05/11.53, allocations: 0 / 4.485 GB, free: 65.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03905/11.57, allocations: 12.36 MB / 4.497 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1056/11.68, allocations: 29 MB / 4.526 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000139/11.68, allocations: 27.91 kB / 4.526 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01931/11.7, allocations: 1.787 MB / 4.527 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006463/11.7, allocations: 1.676 MB / 4.529 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003736/11.71, allocations: 208.1 kB / 4.529 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/11.73, allocations: 23.13 MB / 4.552 GB, free: 36.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.743e-05/11.73, allocations: 44.19 kB / 4.552 GB, free: 36.09 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5099/12.24, allocations: 27.45 MB / 4.579 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01275/12.25, allocations: 2.842 MB / 4.581 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007245/12.26, allocations: 78.62 kB / 4.582 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01704/12.28, allocations: 0.6809 MB / 4.582 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002628/12.28, allocations: 0.5098 MB / 4.583 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002886/12.28, allocations: 381.2 kB / 4.583 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.02003/12.3, allocations: 7.032 MB / 4.59 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.04071/12.34, allocations: 5.502 MB / 4.595 GB, free: 103.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 121 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (760): * Single equations (assignments): 713 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 37 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 37 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 2,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008165/12.35, allocations: 2.148 MB / 4.597 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.04965/12.4, allocations: 19.44 MB / 4.616 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.281e-05/12.4, allocations: 9.938 kB / 4.616 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01479/12.42, allocations: 5.607 MB / 4.622 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03691/12.45, allocations: 5.663 MB / 4.627 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09386/12.55, allocations: 26.9 MB / 4.654 GB, free: 97.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02418/12.57, allocations: 9.797 MB / 4.663 GB, free: 95.94 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/12.57, allocations: 0 / 4.663 GB, free: 95.94 MB / 0.6823 GB Notification: Performance of Templates: time 1.091/13.66, allocations: 322.2 MB / 4.978 GB, free: 61.75 MB / 0.6823 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)