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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001523, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002243/0.002243, allocations: 192.1 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 63.7 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2397, allocations: 114.6 MB / 0.7827 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003717/0.2435, allocations: 1.955 MB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004354/0.2479, allocations: 3.418 MB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.248, allocations: 4 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.2483, allocations: 43.8 kB / 0.788 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.2488, allocations: 115.4 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.564e-05/0.2489, allocations: 19.97 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.2491, allocations: 175.3 kB / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.2492, allocations: 25.67 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2494, allocations: 83.58 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2496, allocations: 79.67 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.2496, allocations: 4 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2497, allocations: 27.92 kB / 0.7885 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.2498, allocations: 31.84 kB / 0.7885 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.2499, allocations: 71.53 kB / 0.7886 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.2501, allocations: 163.3 kB / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2501, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2501, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2501, allocations: 0 / 0.7887 GB, free: 7.816 MB / 0.6075 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.0009305/0.2511, allocations: 0.4984 MB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2511, allocations: 8.031 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.2512, allocations: 20.66 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.2516, allocations: 250.8 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2516, allocations: 4.375 kB / 0.7895 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.2516, allocations: 8.359 kB / 0.7895 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.252, allocations: 143.7 kB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.252, allocations: 3.938 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.252, allocations: 0 / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.2521, allocations: 11.98 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.2525, allocations: 143.8 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.2533, allocations: 432.6 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.2537, allocations: 170.5 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.2539, allocations: 104.7 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.254, allocations: 0 / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.254, allocations: 30.56 kB / 0.7905 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.254, allocations: 4 kB / 0.7905 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0007765/0.2548, allocations: 285.6 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2548, allocations: 51.41 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.255, allocations: 209 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2551, allocations: 29.7 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.2551, allocations: 120.1 kB / 0.7912 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.2552, allocations: 47.34 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.2553, allocations: 29.7 kB / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2554, allocations: 338.8 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.2556, allocations: 79.88 kB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2559, allocations: 67.94 kB / 0.7917 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.2563, allocations: 160.4 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2563, allocations: 4 kB / 0.7918 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004828/0.2568, allocations: 201.4 kB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2568, allocations: 4 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.2568, allocations: 4 kB / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2568, allocations: 0 / 0.792 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2571, allocations: 43.89 kB / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2571, allocations: 0 / 0.7921 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2572, allocations: 15.89 kB / 0.7921 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2573, allocations: 4 kB / 0.7921 GB, free: 4.133 MB / 0.6075 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 (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 prepare postOptimizeDAE: time 0.0001075/0.2574, allocations: 133.8 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.2574, allocations: 15.81 kB / 0.7923 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.2575, allocations: 25.83 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2575, allocations: 8 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2575, allocations: 0 / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2575, allocations: 0 / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.2578, allocations: 269.2 kB / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2578, allocations: 0 / 0.7925 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.258, allocations: 35.91 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.258, allocations: 4 kB / 0.7926 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.258, allocations: 3.984 kB / 0.7926 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.258, allocations: 3.938 kB / 0.7926 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2581, allocations: 0 / 0.7926 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.2586, allocations: 311.2 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.2587, allocations: 108.8 kB / 0.793 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.2587, allocations: 4 kB / 0.793 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2589, allocations: 19.97 kB / 0.793 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.259, allocations: 15.97 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.259, allocations: 4 kB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001332/0.2591, allocations: 156.5 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.503e-06/0.2592, allocations: 0 / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002677/0.2594, allocations: 43.81 kB / 0.7932 GB, free: 2.898 MB / 0.6075 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.0001517/0.2596, allocations: 99.25 kB / 0.7933 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004772/0.2601, allocations: 171.9 kB / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2601, allocations: 0 / 0.7935 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2603, allocations: 92.88 kB / 0.7936 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2607, allocations: 28.64 kB / 0.7936 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.2616, allocations: 455.8 kB / 0.794 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.2619, allocations: 0.7317 MB / 0.7947 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.262, allocations: 44.59 kB / 0.7948 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.2621, allocations: 19.42 kB / 0.7948 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2621, allocations: 3.938 kB / 0.7948 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of Templates: time 0.004275/0.2664, allocations: 1.551 MB / 0.7963 GB, free: 15.68 MB / 0.6231 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)