Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7185/0.7185, allocations: 132.3 MB / 144.9 MB, free: 10.55 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.001191/0.001191, allocations: 167.6 kB / 176.9 MB, free: 2.25 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.214/1.214, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.00157/0.00157, allocations: 109.6 kB / 450 MB, free: 5.844 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.4399/0.44, allocations: 73.39 MB / 0.6736 GB, free: 47.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.5741, allocations: 101.7 MB / 0.7729 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5745, allocations: 74.48 kB / 0.773 GB, free: 14.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003516/0.578, allocations: 1.102 MB / 0.7741 GB, free: 13.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.578, allocations: 0 / 0.7741 GB, free: 13.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.578, allocations: 7.938 kB / 0.7741 GB, free: 13.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004101/0.5784, allocations: 375.3 kB / 0.7744 GB, free: 13.42 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.5785, allocations: 12.03 kB / 0.7744 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.5785, allocations: 0 / 0.7744 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.5787, allocations: 190.9 kB / 0.7746 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5787, allocations: 4 kB / 0.7746 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5788, allocations: 4 kB / 0.7746 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.5789, allocations: 71.11 kB / 0.7747 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.5789, allocations: 0 / 0.7747 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.579, allocations: 3.609 kB / 0.7747 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.579, allocations: 4 kB / 0.7747 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.579, allocations: 27.98 kB / 0.7747 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.5796, allocations: 340.6 kB / 0.7751 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.5797, allocations: 34.58 kB / 0.7751 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.5798, allocations: 20.94 kB / 0.7751 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.5798, allocations: 5.219 kB / 0.7751 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5798, allocations: 34.56 kB / 0.7751 GB, free: 12.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.5799, allocations: 0 / 0.7751 GB, free: 12.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.58, allocations: 57.72 kB / 0.7752 GB, free: 12.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5801, allocations: 51.41 kB / 0.7753 GB, free: 12.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.5802, allocations: 108.2 kB / 0.7754 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5802, allocations: 33.69 kB / 0.7754 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.5802, allocations: 92.05 kB / 0.7755 GB, free: 12.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.5803, allocations: 11.84 kB / 0.7755 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.5803, allocations: 0 / 0.7755 GB, free: 12.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.5804, allocations: 322.8 kB / 0.7758 GB, free: 11.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.914e-05/0.5804, allocations: 12 kB / 0.7758 GB, free: 11.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.5804, allocations: 8 kB / 0.7758 GB, free: 11.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.5805, allocations: 15.98 kB / 0.7758 GB, free: 11.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5805, allocations: 3.953 kB / 0.7758 GB, free: 11.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.585e-05/0.5806, allocations: 67.31 kB / 0.7759 GB, free: 11.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5806, allocations: 4 kB / 0.7759 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5806, allocations: 0 / 0.7759 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.5806, allocations: 0 / 0.7759 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.5808, allocations: 26.05 kB / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.5808, allocations: 0 / 0.7759 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.5809, allocations: 19.97 kB / 0.7759 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.5809, allocations: 0 / 0.7759 GB, free: 11.71 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.757e-05/0.581, allocations: 105.7 kB / 0.776 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.581, allocations: 11.86 kB / 0.7761 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.5812, allocations: 76.45 kB / 0.7761 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5812, allocations: 0 / 0.7761 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5812, allocations: 0 / 0.7761 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5812, allocations: 0 / 0.7761 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.5814, allocations: 177.6 kB / 0.7763 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5814, allocations: 0 / 0.7763 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5815, allocations: 23.94 kB / 0.7763 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5815, allocations: 4 kB / 0.7763 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5815, allocations: 4 kB / 0.7763 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.5815, allocations: 5.422 kB / 0.7763 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5815, allocations: 0 / 0.7763 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.5817, allocations: 148.7 kB / 0.7765 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.5817, allocations: 84.95 kB / 0.7766 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.5818, allocations: 3.953 kB / 0.7766 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5819, allocations: 23.98 kB / 0.7766 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5819, allocations: 11.92 kB / 0.7766 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.5819, allocations: 0 / 0.7766 GB, free: 10.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.385e-05/0.582, allocations: 89.8 kB / 0.7767 GB, free: 10.87 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.582, allocations: 0 / 0.7767 GB, free: 10.87 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001895/0.5822, allocations: 12 kB / 0.7767 GB, free: 10.86 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 0.0001346/0.5823, allocations: 100.2 kB / 0.7768 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.5824, allocations: 32.89 kB / 0.7768 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5824, allocations: 0 / 0.7768 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.5825, allocations: 23.98 kB / 0.7768 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.5826, allocations: 7.938 kB / 0.7768 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.5829, allocations: 94.06 kB / 0.7769 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5831, allocations: 0.6926 MB / 0.7776 GB, free: 9.855 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.872e-05/0.5832, allocations: 12.97 kB / 0.7776 GB, free: 9.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.5832, allocations: 11.44 kB / 0.7776 GB, free: 9.84 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5832, allocations: 0 / 0.7776 GB, free: 9.84 MB / 490.7 MB Notification: Performance of Templates: time 0.002522/0.5857, allocations: 0.5984 MB / 0.7782 GB, free: 9.27 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)