Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.642/1.642, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 175 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008392/0.0008394, allocations: 86.3 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003685, allocations: 10.72 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2846, allocations: 106.4 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001861/0.2866, allocations: 1.211 MB / 0.902 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.2873, allocations: 443.8 kB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.2873, allocations: 0 / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.2873, allocations: 7.922 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.2874, allocations: 7.922 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2876, allocations: 11.98 kB / 0.9025 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.2877, allocations: 47.8 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2878, allocations: 7.984 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.2879, allocations: 23.92 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.288, allocations: 27.84 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.288, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.288, allocations: 0 / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2881, allocations: 4 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.2881, allocations: 29.64 kB / 0.9026 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.973e-05/0.2882, allocations: 31.95 kB / 0.9026 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.2882, allocations: 4 kB / 0.9026 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.851e-06/0.2882, allocations: 7.922 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.2882, allocations: 0 / 0.9027 GB, free: 62.02 MB / 0.6042 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.0005584/0.2888, allocations: 355.4 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2888, allocations: 12.03 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.2889, allocations: 3.906 kB / 0.903 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.289, allocations: 175 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.289, allocations: 0 / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.2891, allocations: 8 kB / 0.9032 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2892, allocations: 53.67 kB / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2893, allocations: 0 / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2893, allocations: 0 / 0.9032 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2893, allocations: 4 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.2894, allocations: 47.91 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.2898, allocations: 276.8 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.29, allocations: 46.55 kB / 0.9036 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.2901, allocations: 32.88 kB / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2901, allocations: 0 / 0.9036 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2901, allocations: 34.5 kB / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2901, allocations: 0 / 0.9037 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003485/0.2905, allocations: 101.7 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2905, allocations: 55.36 kB / 0.9038 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.2906, allocations: 121.8 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2906, allocations: 25.7 kB / 0.9039 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.2907, allocations: 92.08 kB / 0.904 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.2907, allocations: 15.81 kB / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.2907, allocations: 0 / 0.9041 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.2908, allocations: 314.8 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.2909, allocations: 19.98 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.291, allocations: 23.98 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.291, allocations: 24.27 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2911, allocations: 7.875 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000169/0.2912, allocations: 81.66 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.2913, allocations: 4 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2913, allocations: 4 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.2913, allocations: 0 / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2914, allocations: 11.98 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2914, allocations: 3.953 kB / 0.9045 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.621e-05/0.2915, allocations: 11.91 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2915, allocations: 3.984 kB / 0.9045 GB, free: 59.87 MB / 0.6042 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.699e-05/0.2916, allocations: 113.8 kB / 0.9046 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2916, allocations: 4 kB / 0.9047 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.2917, allocations: 7.906 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2917, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2917, allocations: 0 / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2917, allocations: 3.953 kB / 0.9047 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.2918, allocations: 169.6 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2918, allocations: 0 / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.2919, allocations: 11.94 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2919, allocations: 4 kB / 0.9048 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2919, allocations: 11.98 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.292, allocations: 4 kB / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.292, allocations: 0 / 0.9049 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.2922, allocations: 171.4 kB / 0.905 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.2922, allocations: 85.09 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2922, allocations: 4 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.2923, allocations: 4 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.2924, allocations: 7.984 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2924, allocations: 3.938 kB / 0.9051 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.769e-05/0.2924, allocations: 95.27 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2924, allocations: 0 / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002284/0.2927, allocations: 11.91 kB / 0.9052 GB, free: 59.07 MB / 0.6042 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.0001309/0.2928, allocations: 103.2 kB / 0.9053 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001914/0.293, allocations: 47.97 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.293, allocations: 3.938 kB / 0.9054 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.2931, allocations: 19.98 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.2933, allocations: 11.95 kB / 0.9054 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.2937, allocations: 216.1 kB / 0.9056 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2939, allocations: 0.6809 MB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2939, allocations: 15.44 kB / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2939, allocations: 0 / 0.9063 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.002053/0.296, allocations: 0.6939 MB / 0.907 GB, free: 57.23 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)