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.001116/0.001116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001244/0.001244, allocations: 193.2 kB / 16.14 MB, free: 6.656 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002452, allocations: 61.98 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3768, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003539/0.3804, allocations: 1.566 MB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.3812, allocations: 419 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.3812, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.3813, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.094e-05/0.3814, allocations: 3.938 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3816, allocations: 15.98 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3817, allocations: 59.7 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3818, allocations: 11.92 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.382, allocations: 23.92 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.3821, allocations: 19.92 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.3821, allocations: 4 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.3821, allocations: 0 / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3821, allocations: 15.92 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.3822, allocations: 19.86 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3823, allocations: 40.16 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3823, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3823, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3823, allocations: 0 / 1.07 GB, free: 8.66 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.0006258/0.383, allocations: 367.2 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.383, allocations: 8.031 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.3831, allocations: 8.844 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3832, allocations: 172.3 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3833, allocations: 4.312 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3833, allocations: 8.375 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3835, allocations: 53.98 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3835, allocations: 4 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3835, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3835, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.3837, allocations: 35.97 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3842, allocations: 280.8 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.3843, allocations: 38.56 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.684e-05/0.3844, allocations: 24.94 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3844, allocations: 3.984 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3845, allocations: 42.56 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.3845, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003386/0.3848, allocations: 93.48 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.328e-05/0.3849, allocations: 51.41 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.385, allocations: 117.8 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3851, allocations: 25.7 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3852, allocations: 92.12 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.3852, allocations: 7.906 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3852, allocations: 13.72 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3853, allocations: 322.8 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.128e-05/0.3854, allocations: 23.98 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.3855, allocations: 11.98 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.3856, allocations: 36.84 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3856, allocations: 3.938 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001621/0.3858, allocations: 77.56 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3858, allocations: 4 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3858, allocations: 7.938 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3858, allocations: 336 / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3859, allocations: 11.98 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3859, allocations: 0 / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.626e-05/0.386, allocations: 4 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.386, allocations: 0 / 1.072 GB, free: 6.52 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 8.984e-05/0.3861, allocations: 125.7 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3862, allocations: 7.891 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3862, allocations: 15.91 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3862, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.3864, allocations: 173.6 kB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3864, allocations: 0 / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.098e-05/0.3865, allocations: 11.94 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3865, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.3865, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3865, allocations: 7.984 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3865, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.3867, allocations: 163.5 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3868, allocations: 88.95 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3868, allocations: 7.984 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3869, allocations: 4 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.387, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.463e-06/0.387, allocations: 3.984 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.387, allocations: 95.28 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002542/0.3873, allocations: 8 kB / 1.072 GB, free: 5.719 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.0001169/0.3874, allocations: 107.2 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.3876, allocations: 39.97 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3876, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.3877, allocations: 23.98 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3879, allocations: 4.5 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.3884, allocations: 170 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3886, allocations: 0.6848 MB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.3887, allocations: 4 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3887, allocations: 11.44 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3887, allocations: 0 / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.002462/0.3912, allocations: 410.4 kB / 1.074 GB, free: 4.254 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)