Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001057/0.001057, allocations: 180.1 kB / 366.7 MB, free: 1.645 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.469/1.469, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0007931/0.0007931, allocations: 89.25 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.742e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5897, allocations: 116.3 MB / 0.9732 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8314/1.421, allocations: 363.2 MB / 1.328 GB, free: 228.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/1.421, allocations: 88.47 kB / 1.328 GB, free: 228.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01894/1.44, allocations: 9.282 MB / 1.337 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/1.44, allocations: 0 / 1.337 GB, free: 219.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.026e-05/1.44, allocations: 4 kB / 1.337 GB, free: 219.4 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.0004861/1.441, allocations: 450.3 kB / 1.338 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.441, allocations: 8.031 kB / 1.338 GB, free: 218.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/1.441, allocations: 19.81 kB / 1.338 GB, free: 218.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/1.441, allocations: 249 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/1.441, allocations: 4 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/1.441, allocations: 6.438 kB / 1.338 GB, free: 218.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/1.442, allocations: 63.92 kB / 1.338 GB, free: 218.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.442, allocations: 101.6 kB / 1.338 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/1.442, allocations: 0 / 1.338 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/1.442, allocations: 4 kB / 1.338 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/1.442, allocations: 11.98 kB / 1.338 GB, free: 218.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/1.442, allocations: 417.1 kB / 1.338 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/1.442, allocations: 132.5 kB / 1.339 GB, free: 217.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/1.443, allocations: 72.83 kB / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/1.443, allocations: 7.984 kB / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/1.443, allocations: 34.56 kB / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/1.443, allocations: 0 / 1.339 GB, free: 217.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004651/1.443, allocations: 185.7 kB / 1.339 GB, free: 217.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.567e-05/1.443, allocations: 55.36 kB / 1.339 GB, free: 217.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/1.443, allocations: 172 kB / 1.339 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/1.443, allocations: 25.7 kB / 1.339 GB, free: 217.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/1.443, allocations: 128 kB / 1.339 GB, free: 217.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/1.443, allocations: 47.36 kB / 1.339 GB, free: 217 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/1.443, allocations: 3.938 kB / 1.339 GB, free: 217 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/1.443, allocations: 326.8 kB / 1.34 GB, free: 216.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/1.443, allocations: 43.98 kB / 1.34 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/1.443, allocations: 47.91 kB / 1.34 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/1.444, allocations: 81.05 kB / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.444, allocations: 0 / 1.34 GB, free: 216.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003429/1.444, allocations: 185.4 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/1.444, allocations: 4 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.444, allocations: 2.625 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.444, allocations: 4 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/1.444, allocations: 39.95 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/1.444, allocations: 3.938 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/1.445, allocations: 27.84 kB / 1.34 GB, free: 216.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/1.445, allocations: 0 / 1.34 GB, free: 216.3 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 5.501e-05/1.445, allocations: 108.9 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/1.445, allocations: 15.81 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/1.445, allocations: 25.95 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.445, allocations: 0 / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.445, allocations: 4 kB / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.445, allocations: 0 / 1.34 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/1.445, allocations: 234 kB / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.445, allocations: 4 kB / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/1.445, allocations: 39.78 kB / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.445, allocations: 0 / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.445, allocations: 7.938 kB / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.445, allocations: 0 / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.445, allocations: 3.984 kB / 1.34 GB, free: 215.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/1.446, allocations: 285.8 kB / 1.341 GB, free: 215.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/1.446, allocations: 112.8 kB / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/1.446, allocations: 0 / 1.341 GB, free: 215.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.446, allocations: 15.98 kB / 1.341 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/1.446, allocations: 11.98 kB / 1.341 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/1.446, allocations: 7.984 kB / 1.341 GB, free: 215.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.099e-05/1.446, allocations: 144.5 kB / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/1.446, allocations: 0 / 1.341 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002436/1.446, allocations: 31.94 kB / 1.341 GB, free: 215.2 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.0001799/1.446, allocations: 157.8 kB / 1.341 GB, free: 215 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.447, allocations: 116 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/1.447, allocations: 3.938 kB / 1.341 GB, free: 214.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/1.447, allocations: 63.91 kB / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/1.447, allocations: 24.02 kB / 1.341 GB, free: 214.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/1.447, allocations: 227.3 kB / 1.342 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/1.448, allocations: 0.7361 MB / 1.342 GB, free: 213.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001806/1.448, allocations: 51.52 kB / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/1.448, allocations: 15.44 kB / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.21e-07/1.448, allocations: 0 / 1.342 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.003746/1.452, allocations: 1.743 MB / 1.344 GB, free: 212.1 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)