Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.664/1.664, allocations: 288.4 MB / 303.7 MB, free: 8.145 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.001093/0.001093, allocations: 175.4 kB / 372.3 MB, free: 10.12 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.595/1.595, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008182/0.0008182, allocations: 90.34 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 12.72 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1922, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001778/0.194, allocations: 1.566 MB / 0.9817 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.1967, allocations: 3.233 MB / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1968, allocations: 0 / 0.9848 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.197, allocations: 39.8 kB / 0.9849 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.1973, allocations: 119.4 kB / 0.985 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.156e-05/0.1974, allocations: 23.97 kB / 0.985 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1975, allocations: 159.2 kB / 0.9852 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.1976, allocations: 21.69 kB / 0.9852 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1978, allocations: 79.69 kB / 0.9852 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1979, allocations: 71.62 kB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1979, allocations: 8 kB / 0.9853 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.202e-05/0.198, allocations: 19.98 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.198, allocations: 31.83 kB / 0.9854 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.1981, allocations: 93.31 kB / 0.9855 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1982, allocations: 99.75 kB / 0.9856 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1982, allocations: 0 / 0.9856 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.195e-06/0.1982, allocations: 4 kB / 0.9856 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1982, allocations: 4 kB / 0.9856 GB, free: 21.75 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.0006168/0.1989, allocations: 498.5 kB / 0.986 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1989, allocations: 11.97 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.1989, allocations: 20.75 kB / 0.9861 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1992, allocations: 242.8 kB / 0.9863 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1992, allocations: 16.3 kB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1992, allocations: 4.375 kB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1996, allocations: 145.7 kB / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1996, allocations: 0 / 0.9865 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1996, allocations: 4 kB / 0.9865 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.1996, allocations: 8 kB / 0.9865 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.2, allocations: 155.8 kB / 0.9866 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.2006, allocations: 452.5 kB / 0.9871 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.2009, allocations: 178.5 kB / 0.9872 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.2012, allocations: 104.8 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.2012, allocations: 3.938 kB / 0.9873 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.2012, allocations: 46.55 kB / 0.9874 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.2012, allocations: 0 / 0.9874 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.000704/0.2019, allocations: 299.4 kB / 0.9877 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.346e-05/0.202, allocations: 55.41 kB / 0.9877 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.2021, allocations: 213 kB / 0.9879 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2021, allocations: 29.7 kB / 0.9879 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.2022, allocations: 116.1 kB / 0.9881 GB, free: 19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/0.2022, allocations: 47.28 kB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2022, allocations: 4 kB / 0.9881 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.2023, allocations: 330.8 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2025, allocations: 80.19 kB / 0.9885 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.2027, allocations: 87.86 kB / 0.9886 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.2031, allocations: 169.2 kB / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2031, allocations: 0 / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00047/0.2036, allocations: 223.2 kB / 0.989 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2036, allocations: 9.406 kB / 0.989 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2036, allocations: 0 / 0.989 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2036, allocations: 4 kB / 0.989 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.2039, allocations: 35.91 kB / 0.989 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2039, allocations: 7.938 kB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.204, allocations: 27.89 kB / 0.989 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.204, allocations: 3.984 kB / 0.989 GB, free: 17.98 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.675e-05/0.2041, allocations: 129.8 kB / 0.9892 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.2042, allocations: 15.81 kB / 0.9892 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.2042, allocations: 25.83 kB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2042, allocations: 0 / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2042, allocations: 0 / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.2042, allocations: 4 kB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.2045, allocations: 261.3 kB / 0.9895 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2045, allocations: 4 kB / 0.9895 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.2047, allocations: 43.91 kB / 0.9895 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2047, allocations: 3.984 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2047, allocations: 4 kB / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2047, allocations: 0 / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2047, allocations: 0 / 0.9895 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.2052, allocations: 323.2 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.2053, allocations: 120.7 kB / 0.9899 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.2053, allocations: 4 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2055, allocations: 19.98 kB / 0.99 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.2056, allocations: 7.984 kB / 0.99 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.2056, allocations: 7.984 kB / 0.99 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2057, allocations: 148.5 kB / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2057, allocations: 0 / 0.9901 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002458/0.2059, allocations: 43.94 kB / 0.9902 GB, free: 16.75 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.0001585/0.2061, allocations: 115.2 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004625/0.2066, allocations: 180.9 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2066, allocations: 0 / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/0.2068, allocations: 103.9 kB / 0.9905 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2072, allocations: 21.41 kB / 0.9906 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.2078, allocations: 477.1 kB / 0.991 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.208, allocations: 0.7355 MB / 0.9917 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.2082, allocations: 48.59 kB / 0.9918 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.2082, allocations: 19.42 kB / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2082, allocations: 0 / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of Templates: time 0.00357/0.2118, allocations: 1.492 MB / 0.9932 GB, free: 13.54 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)