Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.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.0009257/0.0009256, allocations: 98.03 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.006565/0.006565, allocations: 168.6 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 8.25 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001876/0.3224, allocations: 1.227 MB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006461/0.3231, allocations: 411 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.3231, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.3232, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.3232, allocations: 15.8 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3234, allocations: 15.98 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.989e-05/0.3235, allocations: 47.8 kB / 1.076 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.3236, allocations: 15.97 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.3237, allocations: 19.92 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.566e-05/0.3238, allocations: 23.91 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3238, allocations: 3.938 kB / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.3238, allocations: 0 / 1.076 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.3239, allocations: 8 kB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.3239, allocations: 45.56 kB / 1.076 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.935e-05/0.324, allocations: 40.16 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3241, allocations: 0 / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3241, allocations: 0 / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3241, allocations: 0 / 1.076 GB, free: 5.633 MB / 0.8262 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.0004794/0.3246, allocations: 359.2 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3246, allocations: 12.03 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.3246, allocations: 8.938 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3248, allocations: 176.3 kB / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3248, allocations: 8.312 kB / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3248, allocations: 384 / 1.076 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.325, allocations: 69.92 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.325, allocations: 0 / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.325, allocations: 4 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.325, allocations: 0 / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3252, allocations: 47.95 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3256, allocations: 276.8 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.3257, allocations: 54.5 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.3258, allocations: 24.94 kB / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3258, allocations: 0 / 1.077 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3259, allocations: 34.56 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3259, allocations: 0 / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003159/0.3262, allocations: 97.66 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.3262, allocations: 55.39 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.3263, allocations: 117.8 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3264, allocations: 29.7 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.3264, allocations: 92.14 kB / 1.077 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3264, allocations: 11.8 kB / 1.077 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.3265, allocations: 9.719 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3266, allocations: 322.8 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.3267, allocations: 19.98 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.3267, allocations: 19.98 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.3269, allocations: 48.83 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3269, allocations: 4 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001928/0.3271, allocations: 77.67 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3271, allocations: 7.938 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3271, allocations: 0 / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3271, allocations: 7.922 kB / 1.078 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3272, allocations: 12 kB / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3273, allocations: 0 / 1.078 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.3273, allocations: 7.984 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3273, allocations: 4 kB / 1.078 GB, free: 3.43 MB / 0.8262 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 7.444e-05/0.3274, allocations: 117.8 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.3275, allocations: 3.906 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.3275, allocations: 11.91 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3275, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3275, allocations: 3.984 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3275, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3277, allocations: 169.6 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3277, allocations: 4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.3278, allocations: 15.98 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3278, allocations: 3.938 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3278, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.3278, allocations: 3.984 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3278, allocations: 0 / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3281, allocations: 187.6 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3281, allocations: 81.05 kB / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3281, allocations: 4 kB / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.3282, allocations: 8.047 kB / 1.078 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3283, allocations: 7.969 kB / 1.078 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3283, allocations: 4 kB / 1.078 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.3283, allocations: 99.64 kB / 1.079 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3284, allocations: 4 kB / 1.079 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002136/0.3286, allocations: 4 kB / 1.079 GB, free: 2.609 MB / 0.8262 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.0001086/0.3287, allocations: 99.25 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3289, allocations: 43.97 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3289, allocations: 8 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.329, allocations: 31.91 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.3292, allocations: 7.875 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.3295, allocations: 187.8 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3298, allocations: 0.6848 MB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.3298, allocations: 0 / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.3299, allocations: 7.438 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3299, allocations: 0 / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of Templates: time 0.002244/0.3321, allocations: 399.4 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)