Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.61/1.61, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.0008947/0.0008946, allocations: 166.8 kB / 371.8 MB, free: 10.81 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.321/1.321, allocations: 205.4 MB / 0.6304 GB, free: 10.54 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.0007322/0.0007322, allocations: 86.3 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005126/0.0005126, allocations: 11.92 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1805, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001223/0.1817, allocations: 1.211 MB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004919/0.1822, allocations: 432.2 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/0.1823, allocations: 3.938 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.1823, allocations: 0 / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.634e-05/0.1823, allocations: 15.86 kB / 0.9809 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.1825, allocations: 7.984 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.1826, allocations: 51.78 kB / 0.981 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.006e-05/0.1827, allocations: 12 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.1827, allocations: 15.92 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.942e-05/0.1828, allocations: 23.91 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1828, allocations: 0 / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.1828, allocations: 4 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1829, allocations: 7.922 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1829, allocations: 33.7 kB / 0.9811 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.267e-05/0.1829, allocations: 32.17 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.183, allocations: 0 / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.183, allocations: 4 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.183, allocations: 0 / 0.9811 GB, free: 26.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003401/0.1833, allocations: 359.3 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1834, allocations: 8.031 kB / 0.9814 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.814e-05/0.1834, allocations: 8.875 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.1835, allocations: 172.2 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1835, allocations: 4.375 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1835, allocations: 4.375 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1836, allocations: 61.98 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1837, allocations: 4 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1837, allocations: 0 / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1837, allocations: 3.938 kB / 0.9817 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1839, allocations: 43.97 kB / 0.9817 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1843, allocations: 280.7 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1844, allocations: 46.56 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1846, allocations: 28.94 kB / 0.9821 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1846, allocations: 0 / 0.9821 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.1846, allocations: 38.56 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.1846, allocations: 0 / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004206/0.1851, allocations: 109.5 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.1851, allocations: 51.41 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.1852, allocations: 113.8 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1852, allocations: 29.7 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1853, allocations: 92.05 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1853, allocations: 7.891 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.1853, allocations: 4 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.1853, allocations: 314.8 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.1855, allocations: 23.98 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.1856, allocations: 15.98 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1857, allocations: 57.05 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1858, allocations: 0 / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002287/0.186, allocations: 81.59 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.186, allocations: 12 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.186, allocations: 0 / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1861, allocations: 3.984 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1862, allocations: 8 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1862, allocations: 0 / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.1863, allocations: 11.89 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1863, allocations: 4 kB / 0.983 GB, free: 24.12 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 (3): * Single equations (assignments): 3 * 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 6.377e-05/0.1864, allocations: 117.8 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1865, allocations: 4 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.1865, allocations: 7.906 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1865, allocations: 0 / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1865, allocations: 3.984 kB / 0.9831 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.1866, allocations: 88.95 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1866, allocations: 0 / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1867, allocations: 4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1868, allocations: 11.92 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003044/0.1871, allocations: 164.9 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002759/0.1874, allocations: 250.8 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001092/0.1875, allocations: 23.98 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.1876, allocations: 95.2 kB / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of Backend: time 4.31e-07/0.1876, allocations: 0 / 0.9837 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.1882, allocations: 113.4 kB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003831/0.1886, allocations: 0.6246 MB / 0.9845 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.003338/0.1919, allocations: 0.5293 MB / 0.985 GB, free: 22 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)