Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.932/2.932, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001533/0.001533, allocations: 177.1 kB / 370.8 MB, free: 10.85 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.023/2.023, allocations: 205.4 MB / 0.6295 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.001128/0.001128, allocations: 107.6 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 15.97 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003315/0.2262, allocations: 1.636 MB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006815/0.2331, allocations: 3.249 MB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2334, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003015/0.2337, allocations: 39.81 kB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005353/0.2342, allocations: 115.5 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2349, allocations: 99.69 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004664/0.2353, allocations: 163.7 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.2356, allocations: 40.56 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003359/0.2359, allocations: 99.61 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.2362, allocations: 99.58 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.2363, allocations: 8 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004223/0.2367, allocations: 99.83 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.2368, allocations: 35.89 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.2369, allocations: 57.58 kB / 0.9838 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.2374, allocations: 179.5 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2374, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2374, allocations: 0 / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2374, allocations: 0 / 0.9839 GB, free: 22.45 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0021/0.2395, allocations: 0.5861 MB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.462e-05/0.2396, allocations: 8.031 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.2398, allocations: 23.72 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.2406, allocations: 262.5 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2406, allocations: 8 kB / 0.9848 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2407, allocations: 8 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2419, allocations: 193.5 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2419, allocations: 0 / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.242, allocations: 4 kB / 0.985 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.242, allocations: 11.94 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.2438, allocations: 231.8 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.2457, allocations: 0.4886 MB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/0.2467, allocations: 146.5 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/0.2485, allocations: 0.5767 MB / 0.9864 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2485, allocations: 30.56 kB / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 4.248e-06/0.2486, allocations: 0 / 0.9864 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.003052/0.2516, allocations: 421.1 kB / 0.9868 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2517, allocations: 59.5 kB / 0.9869 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.2521, allocations: 234.7 kB / 0.9871 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.2522, allocations: 29.7 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.2523, allocations: 144 kB / 0.9873 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.2524, allocations: 39.44 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.2525, allocations: 4 kB / 0.9873 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2526, allocations: 330.8 kB / 0.9877 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009105/0.2535, allocations: 115.9 kB / 0.9878 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008962/0.2544, allocations: 115.9 kB / 0.9879 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.2554, allocations: 115.9 kB / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2554, allocations: 0 / 0.988 GB, free: 18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.002049/0.2575, allocations: 309.1 kB / 0.9883 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.2575, allocations: 8 kB / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2575, allocations: 0 / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.2576, allocations: 0 / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007741/0.2584, allocations: 59.88 kB / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.2584, allocations: 0 / 0.9883 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005878/0.259, allocations: 39.97 kB / 0.9884 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.2591, allocations: 4 kB / 0.9884 GB, free: 17.59 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 (11): * Single equations (assignments): 11 * 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.0001948/0.2593, allocations: 125.8 kB / 0.9885 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.2594, allocations: 23.67 kB / 0.9885 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.2615, allocations: 331.1 kB / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2616, allocations: 0 / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2616, allocations: 0 / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2616, allocations: 0 / 0.9888 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.2622, allocations: 273.4 kB / 0.9891 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2622, allocations: 0 / 0.9891 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/0.263, allocations: 55.94 kB / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.263, allocations: 0 / 0.9892 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.2631, allocations: 15.94 kB / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2631, allocations: 0 / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2631, allocations: 0 / 0.9892 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/0.2654, allocations: 395.9 kB / 0.9896 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.2657, allocations: 116.8 kB / 0.9897 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.493e-05/0.2658, allocations: 4 kB / 0.9897 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.2666, allocations: 39.92 kB / 0.9897 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.2668, allocations: 23.91 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2668, allocations: 0 / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002697/0.2671, allocations: 174 kB / 0.9899 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.82e-07/0.2671, allocations: 4 kB / 0.9899 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007805/0.2679, allocations: 55.94 kB / 0.9899 GB, free: 15.88 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 (11): * Single equations (assignments): 11 * 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.0003587/0.2683, allocations: 127.2 kB / 0.9901 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.2705, allocations: 263.7 kB / 0.9903 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2706, allocations: 0 / 0.9903 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.2718, allocations: 136.2 kB / 0.9905 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.2725, allocations: 32.61 kB / 0.9905 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2742, allocations: 493.2 kB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2745, allocations: 0.7433 MB / 0.9917 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.275, allocations: 40.78 kB / 0.9917 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2753, allocations: 23.42 kB / 0.9917 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/0.2753, allocations: 0 / 0.9917 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.007864/0.2832, allocations: 2.305 MB / 0.994 GB, free: 11.7 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)