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.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001224/0.001225, allocations: 189.5 kB / 16.25 MB, free: 6.633 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.671/1.671, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.727/1.727, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001403/0.001403, allocations: 65.58 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3265, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003165/0.3297, allocations: 1.569 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008115/0.3305, allocations: 460.9 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.3306, allocations: 4 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.3307, allocations: 7.922 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.3307, allocations: 3.938 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3309, allocations: 15.97 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.331, allocations: 47.8 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3312, allocations: 15.98 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3313, allocations: 19.94 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.3314, allocations: 27.84 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3314, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.3314, allocations: 4 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.3315, allocations: 11.98 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.3315, allocations: 23.86 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3316, allocations: 40.11 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3316, allocations: 3.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3316, allocations: 0 / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3316, allocations: 4 kB / 0.7851 GB, free: 11.66 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.0006085/0.3323, allocations: 363.2 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3323, allocations: 12.03 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3324, allocations: 4.844 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.3325, allocations: 176.2 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.3326, allocations: 4.375 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.3326, allocations: 4.375 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.3328, allocations: 57.98 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.3328, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3328, allocations: 0 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3328, allocations: 4 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.333, allocations: 35.97 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.3334, allocations: 272.8 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.3336, allocations: 46.55 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.3337, allocations: 20.89 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3337, allocations: 3.984 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3337, allocations: 38.56 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3337, allocations: 0 / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003312/0.3341, allocations: 89.5 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.3341, allocations: 55.41 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.3343, allocations: 117.8 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3343, allocations: 25.7 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.761e-05/0.3343, allocations: 92.14 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3344, allocations: 3.906 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.3344, allocations: 17.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3345, allocations: 322.8 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.3346, allocations: 19.98 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.3347, allocations: 11.98 kB / 0.7868 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3348, allocations: 45.05 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3348, allocations: 3.938 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001548/0.335, allocations: 77.56 kB / 0.7869 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.335, allocations: 8 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.335, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.335, allocations: 0 / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3351, allocations: 11.98 kB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3352, allocations: 3.984 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.3352, allocations: 7.984 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3352, allocations: 0 / 0.7869 GB, free: 9.52 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.333e-05/0.3353, allocations: 117.8 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3354, allocations: 7.906 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.3354, allocations: 11.91 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3354, allocations: 0 / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3354, allocations: 4 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3354, allocations: 0 / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.3356, allocations: 181.5 kB / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3356, allocations: 0 / 0.7872 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.3357, allocations: 11.92 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3357, allocations: 0 / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3357, allocations: 4 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3357, allocations: 0 / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3357, allocations: 4 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.336, allocations: 167.5 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.336, allocations: 85.02 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.336, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3361, allocations: 4 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3362, allocations: 3.984 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3362, allocations: 11.94 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.3362, allocations: 95.64 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002125/0.3365, allocations: 8 kB / 0.7876 GB, free: 8.715 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.0001361/0.3366, allocations: 99.19 kB / 0.7877 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3368, allocations: 43.91 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3368, allocations: 0 / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.3369, allocations: 23.98 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.3372, allocations: 15.92 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.3376, allocations: 172.2 kB / 0.7879 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3378, allocations: 0.6885 MB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.903e-05/0.3379, allocations: 4 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.3379, allocations: 7.438 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3379, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.0028/0.3407, allocations: 411.5 kB / 0.789 GB, free: 7.207 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)