Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.114/2.114, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001406/0.001406, allocations: 186 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.379/2.379, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.000942/0.0009417, allocations: 88.42 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004843/0.0004844, allocations: 13.06 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2517, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.4752, allocations: 132.2 MB / 1.029 GB, free: 13.15 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/0.4756, allocations: 91.94 kB / 1.029 GB, free: 13.06 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.00495/0.4805, allocations: 1.165 MB / 1.03 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4806, allocations: 0 / 1.03 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4806, allocations: 0 / 1.03 GB, free: 11.89 MB / 0.6824 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.0005054/0.4811, allocations: 359.3 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.4812, allocations: 12.03 kB / 1.03 GB, free: 11.47 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.4812, allocations: 8.844 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.4814, allocations: 176.3 kB / 1.03 GB, free: 11.25 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4814, allocations: 384 / 1.03 GB, free: 11.25 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.4815, allocations: 4.375 kB / 1.03 GB, free: 11.25 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.4817, allocations: 58.17 kB / 1.03 GB, free: 11.19 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4817, allocations: 192 / 1.03 GB, free: 11.19 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4818, allocations: 7.938 kB / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4818, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.482, allocations: 39.97 kB / 1.03 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.4825, allocations: 272.9 kB / 1.031 GB, free: 10.82 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4827, allocations: 62.36 kB / 1.031 GB, free: 10.75 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4829, allocations: 28.94 kB / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4829, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4829, allocations: 34.56 kB / 1.031 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.483, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0005004/0.4835, allocations: 97.64 kB / 1.031 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.4835, allocations: 51.41 kB / 1.031 GB, free: 10.51 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.4836, allocations: 117.8 kB / 1.031 GB, free: 10.39 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.4837, allocations: 29.64 kB / 1.031 GB, free: 10.35 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4837, allocations: 92.12 kB / 1.031 GB, free: 10.26 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4838, allocations: 15.75 kB / 1.031 GB, free: 10.24 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.4838, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4839, allocations: 322.8 kB / 1.032 GB, free: 9.918 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.4841, allocations: 15.98 kB / 1.032 GB, free: 9.902 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.4842, allocations: 27.98 kB / 1.032 GB, free: 9.875 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4843, allocations: 19.98 kB / 1.032 GB, free: 9.855 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4844, allocations: 3.938 kB / 1.032 GB, free: 9.852 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003064/0.4847, allocations: 81.66 kB / 1.032 GB, free: 9.766 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4847, allocations: 8 kB / 1.032 GB, free: 9.758 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4847, allocations: 0 / 1.032 GB, free: 9.758 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4848, allocations: 0 / 1.032 GB, free: 9.758 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4849, allocations: 8 kB / 1.032 GB, free: 9.75 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4849, allocations: 3.984 kB / 1.032 GB, free: 9.746 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.485, allocations: 4 kB / 1.032 GB, free: 9.742 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4851, allocations: 7.938 kB / 1.032 GB, free: 9.734 MB / 0.6824 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 9.927e-05/0.4852, allocations: 117.8 kB / 1.032 GB, free: 9.609 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4852, allocations: 7.906 kB / 1.032 GB, free: 9.602 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.275e-05/0.4853, allocations: 7.891 kB / 1.032 GB, free: 9.594 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4853, allocations: 0 / 1.032 GB, free: 9.594 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4853, allocations: 4 kB / 1.032 GB, free: 9.59 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4853, allocations: 0 / 1.032 GB, free: 9.59 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.4856, allocations: 169.6 kB / 1.032 GB, free: 9.375 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4856, allocations: 0 / 1.032 GB, free: 9.375 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.4858, allocations: 19.98 kB / 1.032 GB, free: 9.355 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4858, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4858, allocations: 0 / 1.032 GB, free: 9.355 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4858, allocations: 4 kB / 1.032 GB, free: 9.352 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4858, allocations: 0 / 1.032 GB, free: 9.352 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.4862, allocations: 183.4 kB / 1.032 GB, free: 9.156 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.4862, allocations: 85.05 kB / 1.032 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.4863, allocations: 0 / 1.032 GB, free: 9.055 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4864, allocations: 7.984 kB / 1.032 GB, free: 9.047 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.4865, allocations: 4.312 kB / 1.032 GB, free: 9.043 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.4865, allocations: 4 kB / 1.032 GB, free: 9.039 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.167e-05/0.4866, allocations: 95.27 kB / 1.032 GB, free: 8.945 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4866, allocations: 3.938 kB / 1.032 GB, free: 8.941 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002787/0.4869, allocations: 12 kB / 1.032 GB, free: 8.93 MB / 0.6824 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.0001275/0.487, allocations: 95.25 kB / 1.032 GB, free: 8.824 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.4873, allocations: 47.95 kB / 1.033 GB, free: 8.777 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4874, allocations: 4 kB / 1.033 GB, free: 8.773 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4875, allocations: 36 kB / 1.033 GB, free: 8.738 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4878, allocations: 3.938 kB / 1.033 GB, free: 8.734 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.4883, allocations: 182.4 kB / 1.033 GB, free: 8.527 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4886, allocations: 0.6848 MB / 1.033 GB, free: 7.816 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 4.849e-05/0.4886, allocations: 4 kB / 1.033 GB, free: 7.812 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.4887, allocations: 11.42 kB / 1.033 GB, free: 7.801 MB / 0.6824 GB Notification: Performance of SimCode: time 6.61e-07/0.4887, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6824 GB Notification: Performance of Templates: time 0.002978/0.4917, allocations: 388.5 kB / 1.034 GB, free: 7.43 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)