Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 252 MB / 267.9 MB, free: 10.9 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.001241/0.001241, allocations: 182.5 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 0.5785 GB, free: 20.15 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.0007584/0.0007584, allocations: 90.28 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.00038, allocations: 15.81 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.3195, allocations: 132.4 MB / 1.031 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.3198, allocations: 83.94 kB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003108/0.3229, allocations: 1.165 MB / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3229, allocations: 0 / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3229, allocations: 4 kB / 1.032 GB, free: 9.867 MB / 0.6823 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.0003667/0.3233, allocations: 359.3 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3234, allocations: 8.031 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.3234, allocations: 8.844 kB / 1.032 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.3235, allocations: 180.2 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3236, allocations: 384 / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.3236, allocations: 8.375 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3237, allocations: 62.17 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3238, allocations: 192 / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3238, allocations: 3.938 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3238, allocations: 3.938 kB / 1.032 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3239, allocations: 47.97 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3243, allocations: 269 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3244, allocations: 46.44 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.3245, allocations: 32.94 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3246, allocations: 0 / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3246, allocations: 34.56 kB / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.3246, allocations: 0 / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.000297/0.3249, allocations: 109.5 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.3249, allocations: 51.41 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.658e-05/0.325, allocations: 117.8 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.325, allocations: 29.7 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.3251, allocations: 88.12 kB / 1.033 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3251, allocations: 11.84 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.3251, allocations: 7.938 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.3252, allocations: 318.8 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.3253, allocations: 19.98 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.3254, allocations: 23.98 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.3255, allocations: 52.83 kB / 1.034 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3255, allocations: 3.938 kB / 1.034 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001679/0.3257, allocations: 81.56 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3257, allocations: 4 kB / 1.034 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3257, allocations: 0 / 1.034 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3257, allocations: 4 kB / 1.034 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.3258, allocations: 12 kB / 1.034 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3259, allocations: 3.938 kB / 1.034 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3259, allocations: 7.984 kB / 1.034 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3259, allocations: 0 / 1.034 GB, free: 7.676 MB / 0.6823 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 6.981e-05/0.326, allocations: 113.8 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.326, allocations: 4 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.3261, allocations: 15.89 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3261, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3261, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.3261, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3262, allocations: 177.5 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3262, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.3263, allocations: 11.98 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3263, allocations: 0 / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3263, allocations: 4 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3263, allocations: 0 / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3264, allocations: 4 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.3266, allocations: 183.4 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.3266, allocations: 84.95 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3266, allocations: 0 / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.66e-05/0.3267, allocations: 15.98 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.3268, allocations: 0 / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3268, allocations: 0 / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.3268, allocations: 100.9 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002125/0.3271, allocations: 8 kB / 1.034 GB, free: 6.875 MB / 0.6823 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.0001036/0.3272, allocations: 99.25 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3273, allocations: 47.95 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3273, allocations: 0 / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.3274, allocations: 31.92 kB / 1.035 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.3276, allocations: 11.69 kB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.328, allocations: 182.5 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3282, allocations: 0.6809 MB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.3283, allocations: 11.98 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.3283, allocations: 11.42 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.3283, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.002121/0.3305, allocations: 383.6 kB / 1.036 GB, free: 5.383 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)