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.00127/0.00127, allocations: 104 kB / 16.29 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 181.6 kB / 17.22 MB, free: 5.934 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.598/1.598, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001599/0.001599, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2562, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003256/0.2595, allocations: 1.5 MB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008732/0.2604, allocations: 459.8 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.2605, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.2606, allocations: 7.922 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.661e-05/0.2606, allocations: 15.86 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.2608, allocations: 11.92 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.261, allocations: 51.78 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2611, allocations: 16 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2612, allocations: 19.92 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.2613, allocations: 23.91 kB / 0.7861 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.2613, allocations: 4 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.526e-05/0.2614, allocations: 7.938 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.2614, allocations: 7.984 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.2614, allocations: 23.86 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2616, allocations: 51.98 kB / 0.7862 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2616, allocations: 4 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2616, allocations: 0 / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2616, allocations: 4 kB / 0.7862 GB, free: 1.621 MB / 0.6544 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.0005591/0.2621, allocations: 351.3 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2622, allocations: 8.031 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.2623, allocations: 12.78 kB / 0.7866 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2624, allocations: 180.2 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2624, allocations: 4.375 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2624, allocations: 384 / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2626, allocations: 61.98 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2627, allocations: 0 / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2627, allocations: 0 / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2627, allocations: 0 / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.2628, allocations: 39.91 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.2633, allocations: 268.9 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2634, allocations: 42.56 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.2635, allocations: 24.94 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2635, allocations: 0 / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.2635, allocations: 38.5 kB / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2635, allocations: 0 / 0.7872 GB, free: 460 kB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003168/0.2639, allocations: 97.72 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.2639, allocations: 51.41 kB / 0.7874 GB, free: 292 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.264, allocations: 117.8 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.264, allocations: 25.7 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.2641, allocations: 92.12 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2641, allocations: 7.906 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.2642, allocations: 9.719 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.5069/0.771, allocations: 318.9 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.7712, allocations: 18.77 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.7713, allocations: 23.73 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.7714, allocations: 45.95 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7714, allocations: 0 / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001864/0.7716, allocations: 73.67 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7716, allocations: 5.25 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7717, allocations: 0 / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7717, allocations: 0 / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.7718, allocations: 13.2 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7718, allocations: 3.75 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.7719, allocations: 4.547 kB / 0.7881 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7719, allocations: 5.625 kB / 0.7881 GB, free: 48.5 MB / 0.6544 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 6.46e-05/0.7719, allocations: 111.6 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.772, allocations: 6.625 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.772, allocations: 7.156 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.772, allocations: 0 / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.772, allocations: 11.31 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.772, allocations: 2.953 kB / 0.7882 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.7722, allocations: 170.3 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7722, allocations: 0.6562 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.324e-05/0.7723, allocations: 12.91 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.7723, allocations: 0 / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7723, allocations: 3.188 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7723, allocations: 2.625 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7723, allocations: 4.781 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.7725, allocations: 172.2 kB / 0.7886 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.7725, allocations: 80.33 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7725, allocations: 0 / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.7726, allocations: 6.031 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.7727, allocations: 11.34 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.7727, allocations: 0 / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.7727, allocations: 93.86 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7728, allocations: 4.156 kB / 0.7888 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002383/0.773, allocations: 12.25 kB / 0.7888 GB, free: 47.89 MB / 0.6544 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.0001018/0.7731, allocations: 99.98 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.7733, allocations: 44.03 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7733, allocations: 0 / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.7734, allocations: 22.31 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.7736, allocations: 4.188 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.7739, allocations: 162 kB / 0.7891 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.7741, allocations: 0.6838 MB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.7741, allocations: 1.172 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.7742, allocations: 10.41 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7742, allocations: 0.5 kB / 0.7898 GB, free: 47 MB / 0.6544 GB Notification: Performance of Templates: time 0.002475/0.7767, allocations: 458.9 kB / 0.7902 GB, free: 46.99 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)