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.001372/0.001372, allocations: 108 kB / 15.6 MB, free: 132 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.00228/0.00228, allocations: 192 kB / 16.53 MB, free: 6.391 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.656/1.656, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.859/1.859, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.00148/0.00148, allocations: 70.08 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3175, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.004057/0.3216, allocations: 1.508 MB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.3227, allocations: 459.8 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.3228, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.3229, allocations: 7.922 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.323, allocations: 11.88 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3232, allocations: 23.91 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3233, allocations: 47.84 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3235, allocations: 8 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3236, allocations: 31.86 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.622e-05/0.3237, allocations: 15.92 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3238, allocations: 7.938 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.3238, allocations: 4 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3238, allocations: 11.97 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.3239, allocations: 19.88 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.324, allocations: 48.09 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.324, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.366e-06/0.324, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.3241, allocations: 0 / 0.7855 GB, free: 11.25 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.0006454/0.3247, allocations: 363.2 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3248, allocations: 8.031 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3248, allocations: 8.844 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.325, allocations: 184.1 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.325, allocations: 384 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3251, allocations: 4.375 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.3253, allocations: 61.92 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3253, allocations: 4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3253, allocations: 0 / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3253, allocations: 0 / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3255, allocations: 35.97 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.326, allocations: 272.9 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3261, allocations: 42.5 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.292e-05/0.3262, allocations: 24.94 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3262, allocations: 0 / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3262, allocations: 30.56 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3263, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003573/0.3266, allocations: 89.55 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3267, allocations: 55.41 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3268, allocations: 121.8 kB / 0.7868 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3268, allocations: 25.7 kB / 0.7868 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3269, allocations: 96.06 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.3269, allocations: 8.969 kB / 0.7869 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.327, allocations: 13.72 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3272, allocations: 322.8 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.3272, allocations: 19.98 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.3273, allocations: 16.17 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.3275, allocations: 40.92 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3275, allocations: 0 / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.3277, allocations: 77.56 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3277, allocations: 7.938 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3277, allocations: 4 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.3277, allocations: 0 / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3279, allocations: 15.92 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3279, allocations: 0 / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.3279, allocations: 4 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.3279, allocations: 0 / 0.7874 GB, free: 9.102 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 8.903e-05/0.328, allocations: 122.4 kB / 0.7875 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.3281, allocations: 3.906 kB / 0.7875 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3281, allocations: 11.91 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3281, allocations: 4 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3281, allocations: 0 / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3281, allocations: 0 / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3283, allocations: 173.5 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3283, allocations: 3.984 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.3284, allocations: 12 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3284, allocations: 0 / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3284, allocations: 0 / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3285, allocations: 4 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3285, allocations: 3.984 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3287, allocations: 167.4 kB / 0.7879 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3288, allocations: 85.02 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.3288, allocations: 3.984 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.3289, allocations: 4 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.3289, allocations: 4 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.329, allocations: 3.984 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.329, allocations: 95.28 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.329, allocations: 0 / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002266/0.3293, allocations: 4 kB / 0.7881 GB, free: 8.309 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.0001308/0.3294, allocations: 103.2 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3296, allocations: 39.97 kB / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3296, allocations: 0 / 0.7882 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.3297, allocations: 27.92 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.33, allocations: 14.25 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.3304, allocations: 164.2 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3307, allocations: 0.6885 MB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.3308, allocations: 4.266 kB / 0.7891 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.3308, allocations: 7.438 kB / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.334e-06/0.3308, allocations: 0 / 0.7891 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of Templates: time 0.003018/0.3338, allocations: 471.7 kB / 0.7895 GB, free: 6.75 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)