Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001394, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.91/1.91, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.56 kB / 0.6723 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2858, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003294/0.2892, allocations: 1.51 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000726/0.2899, allocations: 451.8 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.29, allocations: 4 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.29, allocations: 3.938 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.292e-05/0.2901, allocations: 19.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.2903, allocations: 11.98 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.499e-05/0.2904, allocations: 55.78 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2905, allocations: 11.98 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2906, allocations: 23.92 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.897e-05/0.2907, allocations: 23.92 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2907, allocations: 7.938 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.571e-05/0.2907, allocations: 4 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.2908, allocations: 7.984 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2908, allocations: 23.86 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.2909, allocations: 39.77 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2909, allocations: 4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2909, allocations: 0 / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.2909, allocations: 7.922 kB / 0.7863 GB, free: 10.5 MB / 0.6075 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.0005551/0.2915, allocations: 363.3 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2916, allocations: 8.031 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.2916, allocations: 8.844 kB / 0.7866 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2918, allocations: 176.2 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2918, allocations: 384 / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2918, allocations: 4.375 kB / 0.7868 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.292, allocations: 61.92 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.292, allocations: 0 / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.292, allocations: 0 / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2921, allocations: 4 kB / 0.7869 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2922, allocations: 35.97 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.2926, allocations: 280.8 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2927, allocations: 34.56 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.2928, allocations: 28.94 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2928, allocations: 0 / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2929, allocations: 30.56 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.2929, allocations: 0 / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003166/0.2932, allocations: 93.5 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2933, allocations: 51.41 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.2934, allocations: 129.8 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.2934, allocations: 25.7 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2935, allocations: 89.2 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.2935, allocations: 3.906 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.2935, allocations: 21.7 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.2937, allocations: 318.8 kB / 0.788 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.44e-05/0.2937, allocations: 15.92 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-05/0.2938, allocations: 23.98 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2939, allocations: 45.05 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.294, allocations: 4 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000165/0.2941, allocations: 77.55 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2942, allocations: 8.938 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2942, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.2942, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2943, allocations: 15.98 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2943, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.2944, allocations: 4 kB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.2944, allocations: 0 / 0.7881 GB, free: 8.352 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.867e-05/0.2945, allocations: 118.4 kB / 0.7883 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.2945, allocations: 3.906 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.2945, allocations: 11.89 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2946, allocations: 0 / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2946, allocations: 0 / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2946, allocations: 4 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.2948, allocations: 177.5 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2948, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.2948, allocations: 15.92 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2948, allocations: 0 / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2949, allocations: 0 / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2949, allocations: 3.938 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2949, allocations: 0 / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.2951, allocations: 171.5 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.2952, allocations: 85.02 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2952, allocations: 0 / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.017e-05/0.2953, allocations: 7.984 kB / 0.7887 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.2953, allocations: 4 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2953, allocations: 0 / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.2954, allocations: 95.27 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.753e-06/0.2954, allocations: 0 / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002156/0.2956, allocations: 7.938 kB / 0.7888 GB, free: 7.559 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.2958, allocations: 107.2 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.296, allocations: 43.95 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.296, allocations: 0 / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/0.296, allocations: 19.98 kB / 0.789 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2963, allocations: 6.375 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.2966, allocations: 164.2 kB / 0.7891 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2969, allocations: 0.6807 MB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.2969, allocations: 4 kB / 0.7898 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.297, allocations: 7.438 kB / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.297, allocations: 0 / 0.7898 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.002505/0.2995, allocations: 470.8 kB / 0.7903 GB, free: 6.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)