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 2.786/2.786, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001356/0.001356, allocations: 186.5 kB / 371 MB, free: 10.89 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.316/2.316, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.001013/0.001013, allocations: 94.28 kB / 0.743 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.0004971, allocations: 11.42 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00181/0.2225, allocations: 1.214 MB / 0.9796 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.2233, allocations: 425.1 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.2234, allocations: 4 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.2234, allocations: 3.938 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.2235, allocations: 3.938 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.2237, allocations: 19.97 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.03e-05/0.2238, allocations: 47.72 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.2239, allocations: 8 kB / 0.98 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.898e-05/0.224, allocations: 23.86 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.215e-05/0.2241, allocations: 23.92 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2241, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.2241, allocations: 0 / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.2242, allocations: 11.98 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.092e-05/0.2242, allocations: 29.64 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.2243, allocations: 36.16 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2243, allocations: 4 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2243, allocations: 0 / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2243, allocations: 0 / 0.9802 GB, free: 26.52 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.0004968/0.2248, allocations: 355.2 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2249, allocations: 12.03 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2249, allocations: 0 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.2251, allocations: 178.9 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.2251, allocations: 0 / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.2251, allocations: 4 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.2253, allocations: 57.67 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2253, allocations: 11.88 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.2254, allocations: 0 / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2254, allocations: 4 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.2256, allocations: 35.97 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.226, allocations: 276.9 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.2262, allocations: 42.56 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.2264, allocations: 28.94 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2264, allocations: 7.922 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.2264, allocations: 34.56 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.2264, allocations: 0 / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004624/0.2269, allocations: 105.5 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2269, allocations: 59.36 kB / 0.9813 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.418e-05/0.227, allocations: 121.8 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2271, allocations: 25.7 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.2271, allocations: 88.12 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2271, allocations: 11.89 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.2272, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.137e-05/0.2272, allocations: 314.8 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.2273, allocations: 23.98 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2275, allocations: 23.92 kB / 0.9819 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.2276, allocations: 19.98 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2276, allocations: 0 / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002758/0.2279, allocations: 89.56 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2279, allocations: 5.719 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2279, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.228, allocations: 0 / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2281, allocations: 8 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.2281, allocations: 7.938 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.2282, allocations: 12 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2283, allocations: 0 / 0.982 GB, free: 24.38 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.827e-05/0.2283, allocations: 109.8 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.2284, allocations: 7.906 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.2284, allocations: 11.89 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2284, allocations: 7.938 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2285, allocations: 0 / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2285, allocations: 3.953 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.2287, allocations: 169.6 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2287, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.2288, allocations: 11.98 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2288, allocations: 4 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.2288, allocations: 0 / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2288, allocations: 4 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2288, allocations: 3.938 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2292, allocations: 175.5 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.2292, allocations: 89.02 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.868e-05/0.2292, allocations: 0 / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2294, allocations: 7.984 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.2294, allocations: 7.938 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2294, allocations: 0 / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.2295, allocations: 99.2 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2295, allocations: 0 / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002752/0.2298, allocations: 8 kB / 0.9827 GB, free: 23.57 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 (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 Backend phase and start with SimCode phase: time 0.0001218/0.2299, allocations: 95.25 kB / 0.9828 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.2302, allocations: 51.95 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2303, allocations: 4 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.2304, allocations: 24.45 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2307, allocations: 8.719 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.2311, allocations: 186.4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.2313, allocations: 0.6848 MB / 0.9838 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.2313, allocations: 8.062 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.2314, allocations: 7.438 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.2314, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.002833/0.2342, allocations: 378.2 kB / 0.9841 GB, free: 22.09 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)