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.0009217/0.0009217, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0057/0.0057, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.734/1.734, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.831/1.831, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005654/0.0005653, allocations: 18.47 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3324, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002484/0.335, allocations: 1.222 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3361, allocations: 453 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.3362, allocations: 4 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3362, allocations: 0 / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3364, allocations: 23.78 kB / 0.7895 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3366, allocations: 11.98 kB / 0.7896 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3367, allocations: 43.8 kB / 0.7896 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3369, allocations: 8 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.3371, allocations: 23.92 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3372, allocations: 23.92 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.3373, allocations: 7.922 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.665e-05/0.3373, allocations: 0 / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.805e-05/0.3373, allocations: 7.984 kB / 0.7897 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.3374, allocations: 41.58 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3376, allocations: 40.09 kB / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3376, allocations: 0 / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3376, allocations: 0 / 0.7897 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3376, allocations: 0 / 0.7897 GB, free: 9.664 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.0006291/0.3382, allocations: 363.3 kB / 0.7901 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.3383, allocations: 12.03 kB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.3384, allocations: 4.938 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.3385, allocations: 176.2 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3386, allocations: 8.312 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3386, allocations: 384 / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3388, allocations: 65.98 kB / 0.7903 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3388, allocations: 0 / 0.7903 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3389, allocations: 4 kB / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3389, allocations: 0 / 0.7903 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.339, allocations: 43.97 kB / 0.7904 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.3396, allocations: 280.8 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3397, allocations: 46.5 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/0.3398, allocations: 24.94 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3398, allocations: 4 kB / 0.7907 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3399, allocations: 34.56 kB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3399, allocations: 0 / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004296/0.3403, allocations: 101.6 kB / 0.7909 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3404, allocations: 55.34 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3405, allocations: 117.8 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3405, allocations: 25.7 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.3406, allocations: 96.03 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3406, allocations: 7.906 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3407, allocations: 9.719 kB / 0.7912 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3408, allocations: 318.8 kB / 0.7915 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.59e-05/0.3409, allocations: 23.98 kB / 0.7915 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.341, allocations: 24.17 kB / 0.7915 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.3411, allocations: 52.91 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3411, allocations: 4 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001961/0.3413, allocations: 81.59 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3414, allocations: 7.938 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3414, allocations: 3.984 kB / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3414, allocations: 0 / 0.7917 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3415, allocations: 19.98 kB / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3415, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.3416, allocations: 7.906 kB / 0.7917 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3416, allocations: 0 / 0.7917 GB, free: 7.457 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 0.0001005/0.3417, allocations: 117.8 kB / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3418, allocations: 0 / 0.7918 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.543e-05/0.3418, allocations: 11.89 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3418, allocations: 0 / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3418, allocations: 4 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3418, allocations: 0 / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.3421, allocations: 177.5 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3421, allocations: 4 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.3421, allocations: 11.98 kB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3422, allocations: 0 / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3422, allocations: 4 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3422, allocations: 0 / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3422, allocations: 0 / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.3425, allocations: 187.3 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.623e-05/0.3426, allocations: 77.11 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3426, allocations: 0 / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.3427, allocations: 15.92 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3427, allocations: 4 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.3428, allocations: 0 / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.957e-05/0.3428, allocations: 103.6 kB / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 0.7924 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.3431, allocations: 7.906 kB / 0.7924 GB, free: 6.645 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.0001683/0.3433, allocations: 99.25 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3435, allocations: 55.89 kB / 0.7925 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3435, allocations: 4 kB / 0.7925 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.3436, allocations: 19.98 kB / 0.7925 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.3439, allocations: 11.88 kB / 0.7926 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/0.3443, allocations: 186.5 kB / 0.7927 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.3446, allocations: 0.6848 MB / 0.7934 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.3446, allocations: 4.266 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3447, allocations: 11.38 kB / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of SimCode: time 9.31e-07/0.3447, allocations: 0 / 0.7934 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.002816/0.3475, allocations: 395.7 kB / 0.7938 GB, free: 5.133 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: