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.2168/0.219, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002779/0.2218, allocations: 1.744 MB / 0.6723 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2229, allocations: 0.6827 MB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.223, allocations: 0 / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.2231, allocations: 11.86 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/0.2232, allocations: 19.8 kB / 0.673 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.2237, allocations: 175.1 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.2239, allocations: 127.6 kB / 0.6733 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.224, allocations: 45.05 kB / 0.6733 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2242, allocations: 67.7 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.936e-05/0.2243, allocations: 47.77 kB / 0.6735 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.2243, allocations: 8 kB / 0.6735 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2244, allocations: 47.97 kB / 0.6735 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.2245, allocations: 31.89 kB / 0.6735 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.2245, allocations: 59.7 kB / 0.6736 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.2248, allocations: 147.6 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2248, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2248, allocations: 0 / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.2248, allocations: 0 / 0.6737 GB, free: 14.8 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.0006459/0.2254, allocations: 438.9 kB / 0.6742 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2255, allocations: 8.031 kB / 0.6742 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008652/0.2263, allocations: 116.7 kB / 0.6743 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2265, allocations: 192 kB / 0.6745 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.2266, allocations: 63.72 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.2267, allocations: 8 kB / 0.6745 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.2272, allocations: 171.9 kB / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2272, allocations: 0 / 0.6747 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2272, allocations: 3.938 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2272, allocations: 4 kB / 0.6747 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.2279, allocations: 163.8 kB / 0.6749 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2291, allocations: 493.2 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2302, allocations: 218.3 kB / 0.6755 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.2305, allocations: 84.91 kB / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2305, allocations: 0 / 0.6756 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2306, allocations: 38.5 kB / 0.6757 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2306, allocations: 0 / 0.6757 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001054/0.2316, allocations: 265.5 kB / 0.6759 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.2317, allocations: 51.41 kB / 0.676 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.2318, allocations: 137.3 kB / 0.6761 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2318, allocations: 25.7 kB / 0.6761 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.2319, allocations: 116.1 kB / 0.6762 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.2319, allocations: 23.7 kB / 0.6762 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.232, allocations: 25.7 kB / 0.6763 GB, free: 12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2321, allocations: 318.8 kB / 0.6766 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.2324, allocations: 71.91 kB / 0.6766 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.2328, allocations: 94.5 kB / 0.6767 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.2334, allocations: 158.4 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2334, allocations: 4 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006638/0.2341, allocations: 209.3 kB / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2341, allocations: 4 kB / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2341, allocations: 0 / 0.6771 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2341, allocations: 12 kB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.2344, allocations: 35.94 kB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2344, allocations: 4 kB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.2346, allocations: 24.22 kB / 0.6772 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2346, allocations: 160 / 0.6772 GB, free: 11.05 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 9.404e-05/0.2347, allocations: 121.8 kB / 0.6773 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2348, allocations: 27.77 kB / 0.6773 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007131/0.2355, allocations: 206.2 kB / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2355, allocations: 0 / 0.6775 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2355, allocations: 4 kB / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2355, allocations: 0 / 0.6775 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.2358, allocations: 226.4 kB / 0.6777 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2358, allocations: 0 / 0.6777 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.236, allocations: 43.88 kB / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.236, allocations: 0 / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2361, allocations: 4 kB / 0.6778 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2361, allocations: 3.938 kB / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2361, allocations: 3.984 kB / 0.6778 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.2368, allocations: 283.3 kB / 0.678 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.2368, allocations: 84.95 kB / 0.6781 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.2368, allocations: 4 kB / 0.6781 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.2372, allocations: 35.95 kB / 0.6782 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2372, allocations: 3.984 kB / 0.6782 GB, free: 9.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2372, allocations: 7.984 kB / 0.6782 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.322e-05/0.2373, allocations: 103.3 kB / 0.6783 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2373, allocations: 0 / 0.6783 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002617/0.2376, allocations: 27.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.0001299/0.2377, allocations: 107.2 kB / 0.6784 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006918/0.2384, allocations: 163.8 kB / 0.6786 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2384, allocations: 0 / 0.6786 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.2388, allocations: 87.97 kB / 0.6786 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.2391, allocations: 8 kB / 0.6787 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.2397, allocations: 255.8 kB / 0.6789 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.24, allocations: 0.7041 MB / 0.6796 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.034e-05/0.2401, allocations: 12 kB / 0.6796 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.2401, allocations: 15.44 kB / 0.6796 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2401, allocations: 0 / 0.6796 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.003824/0.244, allocations: 1.479 MB / 0.6811 GB, free: 6.898 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)