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 1.803/1.803, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.001321/0.001321, allocations: 184.8 kB / 371.2 MB, free: 10.83 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.733/1.733, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008418/0.0008417, allocations: 100.3 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 16.47 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001888/0.2251, allocations: 1.577 MB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.2284, allocations: 3.222 MB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2285, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.2288, allocations: 39.81 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004774/0.2293, allocations: 123.3 kB / 0.9835 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.897e-05/0.2294, allocations: 19.97 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.2296, allocations: 163.2 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2297, allocations: 25.67 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.2299, allocations: 71.7 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2301, allocations: 71.62 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.2301, allocations: 7.984 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.2302, allocations: 23.98 kB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.2302, allocations: 35.84 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.2303, allocations: 53.58 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2304, allocations: 107.7 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2305, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2305, allocations: 0 / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2305, allocations: 0 / 0.9841 GB, free: 22.65 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.0007289/0.2312, allocations: 0.4886 MB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2313, allocations: 12.03 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.2313, allocations: 16.75 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.2316, allocations: 238.9 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2316, allocations: 12.38 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2317, allocations: 384 / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.232, allocations: 157.5 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.232, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.232, allocations: 0 / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.2321, allocations: 15.98 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.2325, allocations: 147.9 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000673/0.2332, allocations: 452.5 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.2335, allocations: 179.7 kB / 0.9857 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.2338, allocations: 113 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2338, allocations: 4 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2338, allocations: 30.56 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2338, allocations: 4 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0007369/0.2346, allocations: 302.3 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.2346, allocations: 59.33 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.2348, allocations: 205 kB / 0.9864 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2348, allocations: 33.64 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.946e-05/0.2348, allocations: 116.1 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.2349, allocations: 51.28 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.2349, allocations: 4 kB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.235, allocations: 338.8 kB / 0.9869 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2352, allocations: 75.94 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2354, allocations: 79.94 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.2358, allocations: 174.5 kB / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2358, allocations: 0 / 0.9872 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004606/0.2362, allocations: 226.6 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2363, allocations: 4 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2363, allocations: 0 / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2363, allocations: 0 / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2365, allocations: 39.97 kB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2365, allocations: 0 / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.2367, allocations: 31.86 kB / 0.9875 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2367, allocations: 4 kB / 0.9875 GB, free: 18.88 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 8.822e-05/0.2368, allocations: 129.8 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.2369, allocations: 15.81 kB / 0.9877 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.2369, allocations: 29.84 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2369, allocations: 3.938 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2369, allocations: 0 / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2369, allocations: 7.922 kB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.2372, allocations: 261.4 kB / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2372, allocations: 0 / 0.988 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.2374, allocations: 43.95 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2374, allocations: 0 / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.2374, allocations: 0 / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2374, allocations: 8 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2374, allocations: 0 / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.2379, allocations: 323.2 kB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.238, allocations: 120.7 kB / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.238, allocations: 0 / 0.9884 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.2382, allocations: 19.98 kB / 0.9885 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2383, allocations: 11.98 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2383, allocations: 7.984 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.2384, allocations: 152.5 kB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2384, allocations: 0 / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002421/0.2386, allocations: 35.94 kB / 0.9887 GB, free: 17.65 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.0001349/0.2388, allocations: 107.2 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.2392, allocations: 180.8 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2393, allocations: 4 kB / 0.9889 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.2395, allocations: 100.6 kB / 0.989 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.2399, allocations: 28.59 kB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.2405, allocations: 483.5 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2406, allocations: 0.7277 MB / 0.9902 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.2408, allocations: 44.61 kB / 0.9903 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2409, allocations: 19.42 kB / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2409, allocations: 0 / 0.9903 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.003642/0.2445, allocations: 1.488 MB / 0.9917 GB, free: 14.44 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)