Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7087/0.7087, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001197/0.001197, allocations: 169.8 kB / 176.9 MB, free: 2.191 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.274/1.274, allocations: 170.5 MB / 379.3 MB, free: 11.82 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.001526/0.001526, allocations: 114.1 kB / 450 MB, free: 5.777 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.3951/0.3951, allocations: 73.39 MB / 0.6736 GB, free: 47.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1343/0.5295, allocations: 103.3 MB / 0.7745 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5298, allocations: 78.62 kB / 0.7746 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01442/0.5442, allocations: 4.995 MB / 0.7795 GB, free: 8.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5442, allocations: 0 / 0.7795 GB, free: 8.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5443, allocations: 0 / 0.7795 GB, free: 8.348 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005123/0.5448, allocations: 416 kB / 0.7798 GB, free: 7.898 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5448, allocations: 12.03 kB / 0.7799 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006781/0.5455, allocations: 122.4 kB / 0.78 GB, free: 7.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.5457, allocations: 190.2 kB / 0.7802 GB, free: 7.547 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.647e-05/0.5458, allocations: 63.41 kB / 0.7802 GB, free: 7.473 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5458, allocations: 11.94 kB / 0.7802 GB, free: 7.461 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.5461, allocations: 121.2 kB / 0.7803 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5461, allocations: 3.984 kB / 0.7804 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.5461, allocations: 4 kB / 0.7804 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5462, allocations: 0 / 0.7804 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.5463, allocations: 75.98 kB / 0.7804 GB, free: 7.258 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.5474, allocations: 0.4988 MB / 0.7809 GB, free: 6.715 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.548, allocations: 166.5 kB / 0.7811 GB, free: 6.543 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.5481, allocations: 40.92 kB / 0.7811 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.5481, allocations: 7.984 kB / 0.7811 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.5482, allocations: 34.56 kB / 0.7812 GB, free: 6.449 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.5482, allocations: 0 / 0.7812 GB, free: 6.449 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002685/0.5484, allocations: 113.7 kB / 0.7813 GB, free: 6.332 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.5485, allocations: 51.41 kB / 0.7813 GB, free: 6.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5486, allocations: 122.2 kB / 0.7814 GB, free: 6.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.5487, allocations: 29.7 kB / 0.7815 GB, free: 6.102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.5487, allocations: 107.9 kB / 0.7816 GB, free: 5.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.5488, allocations: 23.66 kB / 0.7816 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.5488, allocations: 0 / 0.7816 GB, free: 5.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5489, allocations: 326.8 kB / 0.7819 GB, free: 5.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.593e-05/0.549, allocations: 32 kB / 0.7819 GB, free: 5.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.094e-05/0.5491, allocations: 60.06 kB / 0.782 GB, free: 5.543 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.906e-05/0.5492, allocations: 31.98 kB / 0.782 GB, free: 5.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5492, allocations: 3.938 kB / 0.782 GB, free: 5.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002037/0.5494, allocations: 121.5 kB / 0.7821 GB, free: 5.383 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5494, allocations: 4.938 kB / 0.7821 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5494, allocations: 4 kB / 0.7821 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.5494, allocations: 3.953 kB / 0.7821 GB, free: 5.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.5497, allocations: 47.95 kB / 0.7822 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5497, allocations: 0 / 0.7822 GB, free: 5.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.5499, allocations: 35.98 kB / 0.7822 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.5499, allocations: 4 kB / 0.7822 GB, free: 5.285 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.016e-05/0.55, allocations: 116.9 kB / 0.7823 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.5501, allocations: 10.44 kB / 0.7823 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.5504, allocations: 129.1 kB / 0.7825 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5504, allocations: 0 / 0.7825 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5504, allocations: 3.953 kB / 0.7825 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.5504, allocations: 0 / 0.7825 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.5507, allocations: 234.3 kB / 0.7827 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5507, allocations: 0 / 0.7827 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.5509, allocations: 43.95 kB / 0.7827 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5509, allocations: 0 / 0.7827 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5509, allocations: 8 kB / 0.7827 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.551, allocations: 0 / 0.7827 GB, free: 4.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.551, allocations: 7.891 kB / 0.7828 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.5512, allocations: 199.4 kB / 0.7829 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.75e-05/0.5513, allocations: 96.98 kB / 0.783 GB, free: 4.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.5513, allocations: 7.984 kB / 0.783 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.5517, allocations: 47.95 kB / 0.7831 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.5517, allocations: 3.953 kB / 0.7831 GB, free: 4.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.5517, allocations: 10.3 kB / 0.7831 GB, free: 4.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.593e-05/0.5518, allocations: 112.5 kB / 0.7832 GB, free: 4.188 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5518, allocations: 4 kB / 0.7832 GB, free: 4.184 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.552, allocations: 20 kB / 0.7832 GB, free: 4.164 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 (6): * Single equations (assignments): 6 * 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.0001253/0.5522, allocations: 99.19 kB / 0.7833 GB, free: 4.059 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.5524, allocations: 83.92 kB / 0.7834 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5524, allocations: 0 / 0.7834 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.5525, allocations: 51.86 kB / 0.7835 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5527, allocations: 9.484 kB / 0.7835 GB, free: 3.922 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.553, allocations: 144.5 kB / 0.7836 GB, free: 3.758 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.5533, allocations: 0.7043 MB / 0.7843 GB, free: 3.027 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.5534, allocations: 20.8 kB / 0.7843 GB, free: 3.008 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.5535, allocations: 19.42 kB / 0.7843 GB, free: 2.988 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5535, allocations: 0 / 0.7843 GB, free: 2.988 MB / 490.7 MB Notification: Performance of Templates: time 0.003285/0.5568, allocations: 1.316 MB / 0.7856 GB, free: 1.715 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)