Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.147/2.147, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001523, allocations: 184.7 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.39/2.39, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009856/0.0009855, allocations: 102.2 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006253/0.0006255, allocations: 15.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2253, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.443, allocations: 356.5 MB / 1.248 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.443, allocations: 87.91 kB / 1.248 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.04816/1.492, allocations: 11.47 MB / 1.259 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.084e-06/1.492, allocations: 0 / 1.259 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.088e-05/1.492, allocations: 4 kB / 1.259 GB, free: 3.426 MB / 0.7605 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.002014/1.494, allocations: 0.6507 MB / 1.26 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.494, allocations: 8.031 kB / 1.26 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.495, allocations: 139.9 kB / 1.26 GB, free: 2.598 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/1.497, allocations: 339 kB / 1.26 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.497, allocations: 12.44 kB / 1.26 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/1.497, allocations: 8.375 kB / 1.26 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.498, allocations: 263.4 kB / 1.26 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.498, allocations: 0 / 1.26 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/1.498, allocations: 3.312 kB / 1.26 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/1.498, allocations: 0 / 1.26 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/1.5, allocations: 337.8 kB / 1.261 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/1.502, allocations: 0.6036 MB / 1.261 GB, free: 1.168 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/1.503, allocations: 194.8 kB / 1.261 GB, free: 1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009837/1.504, allocations: 185.4 kB / 1.262 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.505, allocations: 0.5101 MB / 1.262 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.505, allocations: 50.12 kB / 1.262 GB, free: 184 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.956e-06/1.505, allocations: 0 / 1.262 GB, free: 184 kB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.003241/1.509, allocations: 0.56 MB / 1.263 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.509, allocations: 55.41 kB / 1.263 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/1.509, allocations: 264.1 kB / 1.263 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/1.509, allocations: 29.45 kB / 1.263 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.509, allocations: 148.2 kB / 1.263 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.51, allocations: 54.66 kB / 1.263 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/1.51, allocations: 3.812 kB / 1.263 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.51, allocations: 334.3 kB / 1.264 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/1.511, allocations: 180.2 kB / 1.264 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/1.512, allocations: 177.1 kB / 1.264 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/1.513, allocations: 175.1 kB / 1.264 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/1.513, allocations: 0 / 1.264 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002244/1.515, allocations: 430.6 kB / 1.264 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.515, allocations: 4 kB / 1.264 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/1.515, allocations: 0 / 1.264 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.515, allocations: 0 / 1.264 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008709/1.516, allocations: 87.84 kB / 1.265 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.516, allocations: 4 kB / 1.265 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/1.517, allocations: 59.11 kB / 1.265 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/1.517, allocations: 7.984 kB / 1.265 GB, free: 13.96 MB / 0.7761 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.0002219/1.517, allocations: 133.4 kB / 1.265 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/1.517, allocations: 27.62 kB / 1.265 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/1.519, allocations: 444.1 kB / 1.265 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.906e-06/1.519, allocations: 4 kB / 1.265 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.519, allocations: 0 / 1.265 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.519, allocations: 0 / 1.265 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/1.52, allocations: 299.7 kB / 1.265 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.52, allocations: 0 / 1.265 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/1.521, allocations: 79.61 kB / 1.266 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.521, allocations: 3.938 kB / 1.266 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/1.521, allocations: 3.984 kB / 1.266 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/1.521, allocations: 7.938 kB / 1.266 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.521, allocations: 3.984 kB / 1.266 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.523, allocations: 0.5051 MB / 1.266 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/1.523, allocations: 116 kB / 1.266 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/1.523, allocations: 4 kB / 1.266 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/1.524, allocations: 55.69 kB / 1.266 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.524, allocations: 15.67 kB / 1.266 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/1.524, allocations: 3.984 kB / 1.266 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002636/1.525, allocations: 185.3 kB / 1.266 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.81e-07/1.525, allocations: 0 / 1.266 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005577/1.525, allocations: 86.92 kB / 1.267 GB, free: 12.16 MB / 0.7761 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.0004547/1.526, allocations: 182.7 kB / 1.267 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002159/1.528, allocations: 381.6 kB / 1.267 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.528, allocations: 0 / 1.267 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.529, allocations: 199.6 kB / 1.267 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/1.53, allocations: 27.45 kB / 1.267 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/1.531, allocations: 0.5822 MB / 1.268 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/1.532, allocations: 0.7477 MB / 1.269 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004708/1.532, allocations: 53.31 kB / 1.269 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.532, allocations: 22.98 kB / 1.269 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of SimCode: time 1.223e-06/1.532, allocations: 0 / 1.269 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.01164/1.544, allocations: 3.499 MB / 1.272 GB, free: 6.621 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)