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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.233/0.2353, allocations: 80.85 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.00483/0.2401, allocations: 1.745 MB / 0.6723 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.242, allocations: 0.6788 MB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.2423, allocations: 0 / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.941e-05/0.2424, allocations: 11.86 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2425, allocations: 19.8 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008873/0.2434, allocations: 162.6 kB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2437, allocations: 135.6 kB / 0.6733 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2439, allocations: 45.05 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.2441, allocations: 63.77 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2443, allocations: 47.77 kB / 0.6735 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.2443, allocations: 12 kB / 0.6735 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.2445, allocations: 43.97 kB / 0.6735 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.2446, allocations: 35.89 kB / 0.6735 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.2447, allocations: 55.7 kB / 0.6736 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.245, allocations: 139.6 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.245, allocations: 4 kB / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.245, allocations: 0 / 0.6737 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.245, allocations: 0 / 0.6737 GB, free: 14.82 MB / 0.5137 GB 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.0008453/0.2459, allocations: 450.9 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.2459, allocations: 8.031 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.2469, allocations: 108.6 kB / 0.6743 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.2471, allocations: 184.1 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.2472, allocations: 71.72 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.2473, allocations: 15.98 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.2479, allocations: 161.5 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2479, allocations: 0 / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.2479, allocations: 15.88 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2479, allocations: 4 kB / 0.6747 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.2486, allocations: 155.8 kB / 0.6749 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.2499, allocations: 497.2 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.251, allocations: 218.3 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.2513, allocations: 84.89 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.2514, allocations: 0 / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2514, allocations: 34.5 kB / 0.6757 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2514, allocations: 0 / 0.6757 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001139/0.2526, allocations: 265.5 kB / 0.6759 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2527, allocations: 51.41 kB / 0.676 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2528, allocations: 145.3 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.2529, allocations: 25.7 kB / 0.6761 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.253, allocations: 116.1 kB / 0.6762 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2531, allocations: 15.7 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.2532, allocations: 25.7 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2533, allocations: 318.8 kB / 0.6766 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.2537, allocations: 79.91 kB / 0.6766 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.254, allocations: 94.48 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.2547, allocations: 162.4 kB / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2547, allocations: 0 / 0.6769 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007546/0.2555, allocations: 209.4 kB / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2555, allocations: 4 kB / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2555, allocations: 0 / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.2556, allocations: 0 / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.2559, allocations: 39.94 kB / 0.6771 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.2559, allocations: 3.938 kB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.2561, allocations: 35.91 kB / 0.6772 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.2561, allocations: 160 / 0.6772 GB, free: 11.04 MB / 0.5137 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.2562, allocations: 113.8 kB / 0.6773 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.2563, allocations: 15.78 kB / 0.6773 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.2571, allocations: 210.5 kB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2571, allocations: 0 / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.2571, allocations: 4.062 kB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2571, allocations: 0 / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2574, allocations: 226.5 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2574, allocations: 3.938 kB / 0.6777 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.2576, allocations: 43.81 kB / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2577, allocations: 4 kB / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2577, allocations: 4 kB / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2577, allocations: 0 / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2577, allocations: 3.984 kB / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.2584, allocations: 283.3 kB / 0.678 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.2585, allocations: 88.95 kB / 0.6781 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.2585, allocations: 4 kB / 0.6781 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.2589, allocations: 27.95 kB / 0.6782 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.2589, allocations: 3.984 kB / 0.6782 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.259, allocations: 11.98 kB / 0.6782 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.95e-05/0.259, allocations: 103.3 kB / 0.6783 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.259, allocations: 0 / 0.6783 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002851/0.2593, allocations: 31.84 kB / 0.6783 GB, free: 9.773 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.0001416/0.2595, allocations: 103.2 kB / 0.6784 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.2602, allocations: 163.8 kB / 0.6786 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2602, allocations: 0 / 0.6786 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.2605, allocations: 87.84 kB / 0.6786 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.2609, allocations: 8.625 kB / 0.6786 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.2617, allocations: 255.6 kB / 0.6789 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2621, allocations: 0.7002 MB / 0.6796 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2622, allocations: 15.98 kB / 0.6796 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.2622, allocations: 11.44 kB / 0.6796 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2623, allocations: 4 kB / 0.6796 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.005121/0.2674, allocations: 1.483 MB / 0.6811 GB, free: 6.902 MB / 0.5137 GB 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)