Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009597/0.0009597, 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.005772/0.005772, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.704/2.704, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 14.66 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2913, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001542/0.2929, allocations: 1.234 MB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005559/0.2934, allocations: 403.1 kB / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.2935, allocations: 0 / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.2935, allocations: 0 / 1.076 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.2936, allocations: 15.91 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.2937, allocations: 15.94 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.768e-05/0.2938, allocations: 55.78 kB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.757e-05/0.2939, allocations: 7.984 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.9e-05/0.294, allocations: 27.84 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.2941, allocations: 19.92 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2941, allocations: 0 / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.2942, allocations: 4 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.2942, allocations: 7.922 kB / 1.076 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.2942, allocations: 45.58 kB / 1.076 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.2943, allocations: 40.14 kB / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2943, allocations: 0 / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2943, allocations: 0 / 1.076 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.686e-06/0.2943, allocations: 0 / 1.076 GB, free: 5.648 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.000449/0.2948, allocations: 363.3 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.2948, allocations: 8.031 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.2949, allocations: 8.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.295, allocations: 172.3 kB / 1.076 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.295, allocations: 384 / 1.076 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.295, allocations: 8.312 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2952, allocations: 61.98 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2952, allocations: 3.938 kB / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2952, allocations: 0 / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2952, allocations: 0 / 1.077 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.2954, allocations: 47.97 kB / 1.077 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.2958, allocations: 276.8 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.2959, allocations: 46.56 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.296, allocations: 28.94 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.296, allocations: 3.938 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.296, allocations: 34.56 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.296, allocations: 0 / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000319/0.2964, allocations: 101.6 kB / 1.077 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.2964, allocations: 51.41 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.2965, allocations: 117.8 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2965, allocations: 29.7 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.2966, allocations: 92.12 kB / 1.077 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.2966, allocations: 11.81 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.2966, allocations: 13.72 kB / 1.077 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2967, allocations: 318.8 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.158e-05/0.2968, allocations: 15.98 kB / 1.078 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.2969, allocations: 31.92 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.297, allocations: 48.83 kB / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.297, allocations: 0 / 1.078 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001783/0.2972, allocations: 81.66 kB / 1.078 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.2972, allocations: 4 kB / 1.078 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.2972, allocations: 4 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.2973, allocations: 0 / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.351e-05/0.2974, allocations: 11.98 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2974, allocations: 3.984 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.2974, allocations: 8 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2975, allocations: 8 kB / 1.078 GB, free: 3.449 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 6.909e-05/0.2975, allocations: 117.7 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2976, allocations: 12.17 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.2976, allocations: 11.89 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2976, allocations: 3.984 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2976, allocations: 0 / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2976, allocations: 4 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.2978, allocations: 173.6 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2978, allocations: 0 / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.2979, allocations: 15.98 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2979, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2979, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2979, allocations: 0 / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2979, allocations: 4 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.2981, allocations: 179.4 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.2982, allocations: 85.05 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2982, allocations: 3.938 kB / 1.078 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.2983, allocations: 7.984 kB / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.2983, allocations: 0 / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.2983, allocations: 8 kB / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.582e-05/0.2984, allocations: 91.27 kB / 1.079 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2984, allocations: 4 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002205/0.2986, allocations: 8 kB / 1.079 GB, free: 2.633 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 9.154e-05/0.2987, allocations: 100.6 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2989, allocations: 47.97 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2989, allocations: 3.938 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.299, allocations: 31.92 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.2992, allocations: 4.688 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.2996, allocations: 194.3 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.2998, allocations: 0.6809 MB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.2998, allocations: 3.984 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.2999, allocations: 11.44 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2999, allocations: 0 / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.00215/0.302, allocations: 390.5 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)