Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 293 MB / 309 MB, free: 4.832 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.001259/0.001259, allocations: 174.4 kB / 378.7 MB, free: 1.035 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.904/1.904, allocations: 205.4 MB / 0.6383 GB, free: 8.246 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.0008985/0.0008983, allocations: 89.83 kB / 0.7527 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004828, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.314, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.375, allocations: 365.4 MB / 1.347 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.375, allocations: 88.84 kB / 1.347 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.03157/1.406, allocations: 11.61 MB / 1.359 GB, free: 12.24 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.737e-06/1.407, allocations: 4 kB / 1.359 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.407, allocations: 8 kB / 1.359 GB, free: 12.23 MB / 0.9323 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.001518/1.408, allocations: 0.6518 MB / 1.359 GB, free: 11.52 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.408, allocations: 12.03 kB / 1.359 GB, free: 11.51 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000783/1.409, allocations: 132.4 kB / 1.359 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/1.41, allocations: 344.2 kB / 1.36 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.41, allocations: 8.562 kB / 1.36 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/1.41, allocations: 16.25 kB / 1.36 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/1.411, allocations: 264 kB / 1.36 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.411, allocations: 0 / 1.36 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/1.411, allocations: 0.5625 kB / 1.36 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/1.411, allocations: 4 kB / 1.36 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.412, allocations: 335.7 kB / 1.36 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/1.414, allocations: 0.5979 MB / 1.361 GB, free: 9.742 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/1.414, allocations: 207.5 kB / 1.361 GB, free: 9.531 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/1.415, allocations: 180.7 kB / 1.361 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/1.416, allocations: 0.5142 MB / 1.362 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.416, allocations: 35.06 kB / 1.362 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/1.416, allocations: 3.938 kB / 1.362 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0017/1.417, allocations: 0.5652 MB / 1.362 GB, free: 8.109 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.417, allocations: 55.41 kB / 1.362 GB, free: 8.043 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/1.418, allocations: 252.6 kB / 1.363 GB, free: 7.789 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.418, allocations: 33.7 kB / 1.363 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.418, allocations: 155.9 kB / 1.363 GB, free: 7.594 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/1.418, allocations: 39.38 kB / 1.363 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/1.418, allocations: 0.9375 kB / 1.363 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.418, allocations: 350.7 kB / 1.363 GB, free: 7.203 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/1.419, allocations: 167.9 kB / 1.363 GB, free: 7.039 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/1.419, allocations: 179.9 kB / 1.364 GB, free: 6.863 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/1.42, allocations: 359.9 kB / 1.364 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.42, allocations: 0 / 1.364 GB, free: 6.512 MB / 0.9323 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00113/1.421, allocations: 429 kB / 1.364 GB, free: 6.086 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/1.421, allocations: 4 kB / 1.364 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.421, allocations: 0 / 1.364 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.421, allocations: 4 kB / 1.364 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/1.422, allocations: 88.69 kB / 1.364 GB, free: 5.992 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.422, allocations: 4.688 kB / 1.364 GB, free: 5.988 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/1.422, allocations: 55.89 kB / 1.364 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/1.422, allocations: 12.53 kB / 1.365 GB, free: 5.922 MB / 0.9323 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 () * Number of clocked 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 0.0001692/1.422, allocations: 125.8 kB / 1.365 GB, free: 5.789 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/1.423, allocations: 27.62 kB / 1.365 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/1.424, allocations: 444 kB / 1.365 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/1.424, allocations: 0 / 1.365 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.424, allocations: 0 / 1.365 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.424, allocations: 2.875 kB / 1.365 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/1.424, allocations: 309.3 kB / 1.365 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.424, allocations: 0 / 1.365 GB, free: 4.969 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/1.425, allocations: 79.92 kB / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.425, allocations: 0 / 1.365 GB, free: 4.891 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/1.425, allocations: 7.984 kB / 1.365 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.425, allocations: 0 / 1.365 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.425, allocations: 0 / 1.365 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.426, allocations: 0.5065 MB / 1.366 GB, free: 4.363 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/1.426, allocations: 120.8 kB / 1.366 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/1.426, allocations: 0 / 1.366 GB, free: 4.227 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003261/1.426, allocations: 56.81 kB / 1.366 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/1.427, allocations: 15.98 kB / 1.366 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/1.427, allocations: 7.984 kB / 1.366 GB, free: 4.148 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001896/1.427, allocations: 184.7 kB / 1.366 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.11e-07/1.427, allocations: 0 / 1.366 GB, free: 3.969 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004489/1.427, allocations: 91.77 kB / 1.366 GB, free: 3.879 MB / 0.9323 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 () * Number of clocked 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.0004525/1.428, allocations: 177.2 kB / 1.367 GB, free: 3.699 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001144/1.429, allocations: 383.6 kB / 1.367 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.429, allocations: 0 / 1.367 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/1.429, allocations: 199.8 kB / 1.367 GB, free: 3.129 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.43, allocations: 32.64 kB / 1.367 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/1.431, allocations: 0.5783 MB / 1.368 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/1.431, allocations: 0.7446 MB / 1.368 GB, free: 1.727 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003159/1.432, allocations: 47.56 kB / 1.368 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/1.432, allocations: 27.42 kB / 1.369 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of SimCode: time 3.7e-07/1.432, allocations: 0 / 1.369 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of Templates: time 0.4596/1.892, allocations: 3.518 MB / 1.372 GB, free: 274.3 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)