Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.0009657/0.0009656, allocations: 176.9 kB / 361.4 MB, free: 6.871 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.475/1.475, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009111/0.0009111, allocations: 95.19 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.888e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5955/0.5955, allocations: 115.3 MB / 0.9644 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.486, allocations: 362.2 MB / 1.318 GB, free: 240 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/1.486, allocations: 85.61 kB / 1.318 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02092/1.507, allocations: 9.282 MB / 1.327 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.352e-06/1.507, allocations: 0 / 1.327 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.409e-05/1.507, allocations: 4 kB / 1.327 GB, free: 230.7 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005442/1.508, allocations: 463.1 kB / 1.328 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.508, allocations: 12.02 kB / 1.328 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/1.508, allocations: 15.81 kB / 1.328 GB, free: 230.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/1.508, allocations: 241.6 kB / 1.328 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/1.508, allocations: 4 kB / 1.328 GB, free: 229.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/1.508, allocations: 7.984 kB / 1.328 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001273/1.508, allocations: 67.97 kB / 1.328 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.509, allocations: 102.4 kB / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.509, allocations: 4 kB / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.509, allocations: 0 / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.509, allocations: 9.875 kB / 1.328 GB, free: 229.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/1.509, allocations: 421.1 kB / 1.329 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/1.509, allocations: 129.6 kB / 1.329 GB, free: 229.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/1.509, allocations: 72.83 kB / 1.329 GB, free: 229 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.509, allocations: 7.984 kB / 1.329 GB, free: 229 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/1.51, allocations: 30.56 kB / 1.329 GB, free: 229 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/1.51, allocations: 0 / 1.329 GB, free: 229 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005053/1.51, allocations: 190.3 kB / 1.329 GB, free: 228.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/1.51, allocations: 59.36 kB / 1.329 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.51, allocations: 176 kB / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/1.51, allocations: 25.7 kB / 1.329 GB, free: 228.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/1.51, allocations: 124.1 kB / 1.329 GB, free: 228.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/1.51, allocations: 39.36 kB / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/1.51, allocations: 0 / 1.329 GB, free: 228.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/1.51, allocations: 330.8 kB / 1.33 GB, free: 228 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/1.51, allocations: 47.97 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/1.511, allocations: 50.05 kB / 1.33 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/1.511, allocations: 75.92 kB / 1.33 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.511, allocations: 0 / 1.33 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003519/1.511, allocations: 181.4 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.511, allocations: 7.469 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.511, allocations: 0 / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.511, allocations: 3.984 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/1.511, allocations: 43.91 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.512, allocations: 7.047 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/1.512, allocations: 19.84 kB / 1.33 GB, free: 227.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/1.512, allocations: 11.98 kB / 1.33 GB, free: 227.6 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 (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 prepare postOptimizeDAE: time 6.925e-05/1.512, allocations: 108.9 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/1.512, allocations: 19.81 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/1.512, allocations: 21.97 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.512, allocations: 0 / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/1.512, allocations: 0 / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.512, allocations: 3.984 kB / 1.33 GB, free: 227.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/1.512, allocations: 234 kB / 1.33 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.512, allocations: 0 / 1.33 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.512, allocations: 43.91 kB / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.512, allocations: 0 / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.512, allocations: 3.984 kB / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.512, allocations: 4 kB / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.512, allocations: 0 / 1.331 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/1.513, allocations: 276 kB / 1.331 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/1.513, allocations: 112.8 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/1.513, allocations: 4 kB / 1.331 GB, free: 226.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.513, allocations: 19.11 kB / 1.331 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/1.513, allocations: 7.984 kB / 1.331 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.513, allocations: 11.98 kB / 1.331 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.692e-05/1.513, allocations: 140.5 kB / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.092e-06/1.513, allocations: 0 / 1.331 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002774/1.514, allocations: 43.88 kB / 1.331 GB, free: 226.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.000273/1.514, allocations: 151.6 kB / 1.331 GB, free: 226.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002186/1.514, allocations: 113.7 kB / 1.331 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.514, allocations: 3.938 kB / 1.331 GB, free: 226.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/1.514, allocations: 67.91 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/1.514, allocations: 28.08 kB / 1.331 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/1.515, allocations: 225.2 kB / 1.332 GB, free: 225.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/1.515, allocations: 0.736 MB / 1.332 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001623/1.515, allocations: 44.73 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/1.515, allocations: 23.42 kB / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.515, allocations: 0 / 1.332 GB, free: 225 MB / 0.8542 GB Notification: Performance of Templates: time 0.004162/1.519, allocations: 1.741 MB / 1.334 GB, free: 223.3 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)