Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.596/1.596, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 184.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008602/0.0008599, allocations: 91.36 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5809, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8339/1.415, allocations: 363.5 MB / 1.319 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.415, allocations: 88.44 kB / 1.319 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02671/1.442, allocations: 11.49 MB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.104e-06/1.442, allocations: 7.906 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.415e-05/1.442, allocations: 7.734 kB / 1.331 GB, free: 181.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009057/1.443, allocations: 0.6092 MB / 1.331 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/1.443, allocations: 11.81 kB / 1.331 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/1.444, allocations: 133.2 kB / 1.331 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/1.444, allocations: 328.8 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/1.444, allocations: 3.906 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/1.444, allocations: 3.906 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002609/1.445, allocations: 146.9 kB / 1.332 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/1.445, allocations: 137.5 kB / 1.332 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/1.445, allocations: 0 / 1.332 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/1.445, allocations: 0 / 1.332 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.445, allocations: 3.906 kB / 1.332 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.446, allocations: 0.5728 MB / 1.333 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/1.446, allocations: 97.09 kB / 1.333 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.446, allocations: 80.62 kB / 1.333 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005049/1.447, allocations: 0.5124 MB / 1.333 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/1.447, allocations: 34.55 kB / 1.333 GB, free: 180 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/1.447, allocations: 0 / 1.333 GB, free: 180 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0493/1.496, allocations: 3.782 MB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/1.496, allocations: 55.41 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/1.496, allocations: 220.2 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.496, allocations: 25.7 kB / 1.337 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/1.496, allocations: 147.5 kB / 1.337 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/1.497, allocations: 46.42 kB / 1.337 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/1.497, allocations: 0 / 1.337 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.497, allocations: 335.8 kB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.497, allocations: 72.61 kB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/1.497, allocations: 76.17 kB / 1.338 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1423/1.639, allocations: 10.77 MB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/1.639, allocations: 0 / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.1448/1.784, allocations: 10.91 MB / 1.359 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/1.784, allocations: 4 kB / 1.359 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.784, allocations: 0 / 1.359 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.784, allocations: 0 / 1.359 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/1.785, allocations: 92.94 kB / 1.359 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.785, allocations: 6.109 kB / 1.359 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/1.785, allocations: 57.61 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/1.785, allocations: 7.984 kB / 1.359 GB, free: 162.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/1.785, allocations: 105 kB / 1.359 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/1.785, allocations: 27.58 kB / 1.359 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04876/1.834, allocations: 3.819 MB / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.834, allocations: 0 / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.834, allocations: 0 / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.834, allocations: 0 / 1.363 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/1.834, allocations: 272.2 kB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.834, allocations: 3.938 kB / 1.363 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/1.835, allocations: 75.88 kB / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/1.835, allocations: 7.984 kB / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/1.835, allocations: 7.797 kB / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.835, allocations: 4 kB / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.835, allocations: 0 / 1.363 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04808/1.883, allocations: 3.884 MB / 1.367 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/1.883, allocations: 126.8 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/1.883, allocations: 3.953 kB / 1.367 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/1.883, allocations: 47.95 kB / 1.367 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.883, allocations: 19.53 kB / 1.367 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/1.883, allocations: 7.484 kB / 1.367 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001317/1.884, allocations: 170.4 kB / 1.368 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.884, allocations: 0 / 1.368 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003757/1.884, allocations: 71.48 kB / 1.368 GB, free: 154.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/1.884, allocations: 192.1 kB / 1.368 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002936/1.885, allocations: 174.6 kB / 1.368 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.885, allocations: 0 / 1.368 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/1.885, allocations: 93.03 kB / 1.368 GB, free: 154 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/1.885, allocations: 31.42 kB / 1.368 GB, free: 154 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/1.886, allocations: 301.5 kB / 1.368 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.886, allocations: 0.7513 MB / 1.369 GB, free: 153 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002375/1.886, allocations: 47.98 kB / 1.369 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/1.886, allocations: 19.42 kB / 1.369 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.886, allocations: 0 / 1.369 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004962/1.891, allocations: 2.977 MB / 1.372 GB, free: 150 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)