Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7045/0.7045, allocations: 132.3 MB / 144.9 MB, free: 10.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001136/0.001136, allocations: 176.5 kB / 176.9 MB, free: 2.195 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.308/1.308, allocations: 170.5 MB / 379.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001774/0.001774, allocations: 109.7 kB / 450 MB, free: 5.855 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4404/0.4405, allocations: 73.39 MB / 0.6736 GB, free: 47.56 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5751, allocations: 102.2 MB / 0.7734 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.5754, allocations: 86.66 kB / 0.7735 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00294/0.5784, allocations: 1.114 MB / 0.7746 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5784, allocations: 0 / 0.7746 GB, free: 13.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.5784, allocations: 0 / 0.7746 GB, free: 13.35 MB / 490.7 MB 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.0003264/0.5787, allocations: 348.4 kB / 0.7749 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5788, allocations: 8.031 kB / 0.7749 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.5788, allocations: 10.66 kB / 0.7749 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.579, allocations: 182.8 kB / 0.7751 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.579, allocations: 0 / 0.7751 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.579, allocations: 4 kB / 0.7751 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.5791, allocations: 48.31 kB / 0.7751 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5791, allocations: 4.594 kB / 0.7751 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5792, allocations: 3.984 kB / 0.7752 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5792, allocations: 0 / 0.7752 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.5792, allocations: 16 kB / 0.7752 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.5796, allocations: 276.9 kB / 0.7754 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.5797, allocations: 34.58 kB / 0.7755 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.365e-05/0.5797, allocations: 12.86 kB / 0.7755 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5797, allocations: 4 kB / 0.7755 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.5798, allocations: 34.64 kB / 0.7755 GB, free: 12.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.051e-06/0.5798, allocations: 3.938 kB / 0.7755 GB, free: 12.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001591/0.5799, allocations: 57.55 kB / 0.7756 GB, free: 12.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.58, allocations: 59.39 kB / 0.7756 GB, free: 12.09 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.5801, allocations: 110.1 kB / 0.7757 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5801, allocations: 25.7 kB / 0.7758 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.5801, allocations: 88.12 kB / 0.7758 GB, free: 11.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5802, allocations: 7.906 kB / 0.7759 GB, free: 11.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5802, allocations: 0 / 0.7759 GB, free: 11.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.5803, allocations: 314.8 kB / 0.7762 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.5803, allocations: 15.98 kB / 0.7762 GB, free: 11.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.002e-05/0.5803, allocations: 9.969 kB / 0.7762 GB, free: 11.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.5804, allocations: 8 kB / 0.7762 GB, free: 11.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5804, allocations: 0 / 0.7762 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.812e-05/0.5805, allocations: 65.48 kB / 0.7762 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5805, allocations: 4 kB / 0.7763 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5805, allocations: 1.719 kB / 0.7763 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5805, allocations: 0 / 0.7763 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.5806, allocations: 11.98 kB / 0.7763 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5806, allocations: 8.562 kB / 0.7763 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.5807, allocations: 4 kB / 0.7763 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.5807, allocations: 3.984 kB / 0.7763 GB, free: 11.4 MB / 490.7 MB 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 () * 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 5.322e-05/0.5808, allocations: 104.9 kB / 0.7764 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.5808, allocations: 15.86 kB / 0.7764 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.5808, allocations: 4.031 kB / 0.7764 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5808, allocations: 8.312 kB / 0.7764 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5808, allocations: 0 / 0.7764 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.5808, allocations: 4 kB / 0.7764 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.581, allocations: 169.6 kB / 0.7766 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.581, allocations: 0 / 0.7766 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.6e-05/0.5811, allocations: 12 kB / 0.7766 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5811, allocations: 11.73 kB / 0.7766 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5811, allocations: 4 kB / 0.7766 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5811, allocations: 3.094 kB / 0.7766 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5811, allocations: 0 / 0.7766 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.5813, allocations: 155.4 kB / 0.7767 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.5813, allocations: 85.09 kB / 0.7768 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.5813, allocations: 7.891 kB / 0.7768 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.5814, allocations: 4 kB / 0.7768 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.5815, allocations: 11.98 kB / 0.7769 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.5815, allocations: 0 / 0.7769 GB, free: 10.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.748e-05/0.5815, allocations: 92.66 kB / 0.7769 GB, free: 10.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5815, allocations: 0 / 0.7769 GB, free: 10.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001956/0.5817, allocations: 12 kB / 0.777 GB, free: 10.63 MB / 490.7 MB 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 () * 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 9.679e-05/0.5818, allocations: 99.23 kB / 0.777 GB, free: 10.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.849e-05/0.5819, allocations: 20 kB / 0.7771 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5819, allocations: 3.938 kB / 0.7771 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.874e-05/0.582, allocations: 12 kB / 0.7771 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.5821, allocations: 0 / 0.7771 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.5823, allocations: 83.75 kB / 0.7772 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5826, allocations: 0.6926 MB / 0.7778 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.5826, allocations: 0 / 0.7778 GB, free: 9.672 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.5826, allocations: 7.438 kB / 0.7778 GB, free: 9.668 MB / 490.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5826, allocations: 4 kB / 0.7778 GB, free: 9.664 MB / 490.7 MB Notification: Performance of Templates: time 0.001922/0.5846, allocations: 387.6 kB / 0.7782 GB, free: 9.309 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)