Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.569/2.569, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001291/0.001291, allocations: 174.4 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009543/0.000954, allocations: 97.11 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006446/0.0006447, allocations: 12.23 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.223, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002189/0.2253, allocations: 1.566 MB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004339/0.2297, allocations: 3.221 MB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.549e-05/0.2298, allocations: 4 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.2301, allocations: 43.69 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.2305, allocations: 123.4 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.558e-05/0.2306, allocations: 23.91 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.2309, allocations: 147.3 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.231, allocations: 29.67 kB / 0.9834 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2312, allocations: 67.7 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.2314, allocations: 79.61 kB / 0.9835 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.2314, allocations: 4 kB / 0.9835 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.2315, allocations: 23.98 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.2316, allocations: 31.84 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.2317, allocations: 49.58 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.2318, allocations: 115.7 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2319, allocations: 0 / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2319, allocations: 0 / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2319, allocations: 4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 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.0009538/0.2328, allocations: 494.3 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2329, allocations: 8.031 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.233, allocations: 19.77 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.2334, allocations: 237.8 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2334, allocations: 7.875 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.2334, allocations: 4 kB / 0.9845 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005004/0.2339, allocations: 153.5 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.234, allocations: 0 / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.234, allocations: 3.984 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/0.234, allocations: 8 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007493/0.2348, allocations: 158.3 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.2357, allocations: 456.4 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.2363, allocations: 174.5 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.2368, allocations: 109 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2368, allocations: 7.984 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.2368, allocations: 46.5 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.2368, allocations: 0 / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001299/0.2381, allocations: 302.8 kB / 0.9858 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.2382, allocations: 51.41 kB / 0.9859 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2384, allocations: 213 kB / 0.9861 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.2384, allocations: 25.7 kB / 0.9861 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.2385, allocations: 116.1 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.2386, allocations: 43.36 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.2386, allocations: 4 kB / 0.9863 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.2387, allocations: 326.8 kB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.2391, allocations: 79.94 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.2395, allocations: 83.92 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.2399, allocations: 81.08 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2399, allocations: 0 / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008592/0.2407, allocations: 231.2 kB / 0.987 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2408, allocations: 11.95 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2408, allocations: 0 / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2408, allocations: 4 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.2413, allocations: 39.95 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2413, allocations: 0 / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.2416, allocations: 19.92 kB / 0.9871 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2416, allocations: 8 kB / 0.9871 GB, free: 19.13 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.2417, allocations: 129.8 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.2418, allocations: 15.81 kB / 0.9873 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.2419, allocations: 33.72 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2419, allocations: 7.938 kB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2419, allocations: 0 / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2419, allocations: 0 / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.2422, allocations: 253.5 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.2423, allocations: 7.984 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.2426, allocations: 35.97 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2427, allocations: 7.938 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.2427, allocations: 4 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2427, allocations: 3.953 kB / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2427, allocations: 0 / 0.9876 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.2436, allocations: 327.2 kB / 0.9879 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2438, allocations: 112.8 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.2438, allocations: 4 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.2441, allocations: 15.98 kB / 0.988 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.2442, allocations: 23.92 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.2442, allocations: 0 / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001426/0.2444, allocations: 152.5 kB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2444, allocations: 0 / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000361/0.2448, allocations: 32 kB / 0.9882 GB, free: 17.9 MB / 0.6198 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.0001613/0.2449, allocations: 111.2 kB / 0.9883 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008381/0.2458, allocations: 189.2 kB / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2458, allocations: 0 / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004104/0.2462, allocations: 95.88 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.2468, allocations: 24.66 kB / 0.9886 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009657/0.2477, allocations: 483.5 kB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.2479, allocations: 0.7278 MB / 0.9898 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.2482, allocations: 52.56 kB / 0.9899 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.2483, allocations: 19.44 kB / 0.9899 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.2483, allocations: 0 / 0.9899 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.005533/0.2539, allocations: 1.487 MB / 0.9913 GB, free: 14.68 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)