Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 90.36 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00907/0.00907, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.888/2.888, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004028, allocations: 11.22 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002375/0.3153, allocations: 1.835 MB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.3197, allocations: 3.732 MB / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3198, allocations: 0 / 1.08 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3201, allocations: 55.89 kB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.3204, allocations: 107.3 kB / 1.08 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.3208, allocations: 131.7 kB / 1.08 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.3211, allocations: 290.9 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3213, allocations: 52.72 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.3215, allocations: 119.5 kB / 1.08 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.3217, allocations: 135.4 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3217, allocations: 11.94 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.322, allocations: 123.8 kB / 1.081 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.322, allocations: 51.75 kB / 1.081 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3222, allocations: 133 kB / 1.081 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.3225, allocations: 322.9 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3225, allocations: 0 / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3225, allocations: 0 / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3225, allocations: 0 / 1.081 GB, free: 392 kB / 0.8262 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.001205/0.3238, allocations: 0.6194 MB / 1.082 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.3238, allocations: 12.03 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.3248, allocations: 160.4 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.3256, allocations: 340.1 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3256, allocations: 4.562 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3257, allocations: 15.94 kB / 1.082 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007491/0.3264, allocations: 250 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3264, allocations: 4 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.3265, allocations: 4 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3265, allocations: 4 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3276, allocations: 352.7 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.329, allocations: 0.5863 MB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.3296, allocations: 202.4 kB / 1.084 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.3302, allocations: 185 kB / 1.084 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009094/0.3311, allocations: 0.5767 MB / 1.084 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.3312, allocations: 34.56 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.562e-06/0.3312, allocations: 0 / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001937/0.3331, allocations: 0.5668 MB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3332, allocations: 51.41 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.3335, allocations: 268.5 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3335, allocations: 25.7 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.096e-05/0.3336, allocations: 152 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.3337, allocations: 51.28 kB / 1.085 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3337, allocations: 21.72 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3338, allocations: 334.8 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.3344, allocations: 179.9 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.335, allocations: 180.8 kB / 1.086 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3362, allocations: 350.2 kB / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3362, allocations: 0 / 1.086 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001334/0.3376, allocations: 439 kB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3376, allocations: 8 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.3376, allocations: 0 / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3376, allocations: 0 / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.3381, allocations: 79.92 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3381, allocations: 7.922 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.3385, allocations: 59.89 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3385, allocations: 7.984 kB / 1.087 GB, free: 10 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.3387, allocations: 133.8 kB / 1.087 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.3388, allocations: 27.62 kB / 1.087 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.3402, allocations: 439.3 kB / 1.088 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3402, allocations: 4 kB / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3402, allocations: 0 / 1.088 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3402, allocations: 7.938 kB / 1.088 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.3405, allocations: 301.4 kB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3406, allocations: 3.938 kB / 1.088 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.341, allocations: 79.86 kB / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.341, allocations: 0 / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.341, allocations: 7.984 kB / 1.088 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.341, allocations: 4 kB / 1.088 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3411, allocations: 4 kB / 1.088 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.3424, allocations: 0.4989 MB / 1.088 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3425, allocations: 116.8 kB / 1.089 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.3425, allocations: 8 kB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/0.3429, allocations: 51.94 kB / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.343, allocations: 15.98 kB / 1.089 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.343, allocations: 7.922 kB / 1.089 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000163/0.3432, allocations: 187.1 kB / 1.089 GB, free: 8.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3432, allocations: 3.938 kB / 1.089 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000363/0.3436, allocations: 79.83 kB / 1.089 GB, free: 7.945 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002056/0.3438, allocations: 123.2 kB / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.3451, allocations: 383.7 kB / 1.089 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3451, allocations: 0 / 1.089 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.3457, allocations: 195.8 kB / 1.09 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.3462, allocations: 40.36 kB / 1.09 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.3473, allocations: 0.5901 MB / 1.09 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3477, allocations: 0.7477 MB / 1.091 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002596/0.3479, allocations: 53.36 kB / 1.091 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.348, allocations: 23.42 kB / 1.091 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.348, allocations: 0 / 1.091 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of Templates: time 0.006586/0.3546, allocations: 2.919 MB / 1.094 GB, free: 2.859 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)