Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [/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.2049/0.2073, allocations: 80.83 MB / 0.6706 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001889/0.2093, allocations: 0.5774 MB / 0.6712 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.2115, allocations: 1.471 MB / 0.6726 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.2115, allocations: 3.938 kB / 0.6727 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.273e-05/0.2116, allocations: 3.938 kB / 0.6727 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.146e-05/0.2117, allocations: 0 / 0.6727 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007221/0.2124, allocations: 214.9 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.2125, allocations: 39.97 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.2126, allocations: 0 / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.2126, allocations: 15.98 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.542e-05/0.2127, allocations: 23.91 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2127, allocations: 4 kB / 0.6729 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.2131, allocations: 251.6 kB / 0.6732 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.2132, allocations: 15.92 kB / 0.6732 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.2132, allocations: 15.92 kB / 0.6732 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.2135, allocations: 211.4 kB / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2136, allocations: 0 / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2136, allocations: 0 / 0.6734 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2136, allocations: 0 / 0.6734 GB, free: 15.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004507/0.214, allocations: 408.7 kB / 0.6738 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2141, allocations: 12.03 kB / 0.6738 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.2141, allocations: 4.891 kB / 0.6738 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.2143, allocations: 172.3 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2143, allocations: 4.375 kB / 0.674 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.2143, allocations: 11.88 kB / 0.674 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.2145, allocations: 73.64 kB / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2145, allocations: 0 / 0.6741 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2145, allocations: 4 kB / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2145, allocations: 0 / 0.6741 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.2146, allocations: 39.91 kB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.2148, allocations: 165.6 kB / 0.6743 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2149, allocations: 70.48 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.215, allocations: 44.88 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.215, allocations: 3.984 kB / 0.6744 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.215, allocations: 46.48 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.215, allocations: 0 / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0003574/0.2154, allocations: 183.2 kB / 0.6746 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.2155, allocations: 81.11 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.2156, allocations: 113.9 kB / 0.6748 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.2156, allocations: 25.7 kB / 0.6748 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.2156, allocations: 88.14 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.2157, allocations: 31.73 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.2157, allocations: 17.72 kB / 0.6749 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2159, allocations: 318.8 kB / 0.6752 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.31e-05/0.2159, allocations: 35.97 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.216, allocations: 31.98 kB / 0.6753 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2162, allocations: 144.2 kB / 0.6755 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2162, allocations: 4 kB / 0.6755 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.2164, allocations: 155.4 kB / 0.6756 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.2164, allocations: 38.47 kB / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2165, allocations: 0 / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2165, allocations: 0 / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.2165, allocations: 0 / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2165, allocations: 0 / 0.6756 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2166, allocations: 15.94 kB / 0.6757 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2167, allocations: 8.625 kB / 0.6757 GB, free: 12.6 MB / 0.5137 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001212/0.2168, allocations: 155.5 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.2168, allocations: 4 kB / 0.6758 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.891e-05/0.2168, allocations: 8.375 kB / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2168, allocations: 0 / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2168, allocations: 0 / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2168, allocations: 0 / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.217, allocations: 177.5 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.217, allocations: 0 / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-07/0.217, allocations: 0 / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.217, allocations: 4 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.217, allocations: 7.938 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.217, allocations: 0 / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.217, allocations: 4 kB / 0.676 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.2174, allocations: 202.6 kB / 0.6762 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.2174, allocations: 92.98 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2175, allocations: 4 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.854e-05/0.2175, allocations: 4 kB / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.2175, allocations: 4 kB / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.2176, allocations: 12.02 kB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.2176, allocations: 87.28 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2176, allocations: 0 / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003211/0.2179, allocations: 75.86 kB / 0.6765 GB, free: 11.66 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003208/0.2183, allocations: 159.1 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.2186, allocations: 199.2 kB / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2186, allocations: 0 / 0.6768 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.2187, allocations: 155.4 kB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.2189, allocations: 12 kB / 0.677 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.2192, allocations: 164.8 kB / 0.6771 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2195, allocations: 0.6807 MB / 0.6778 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.356e-06/0.2195, allocations: 0 / 0.6778 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.2195, allocations: 7.438 kB / 0.6778 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2196, allocations: 0 / 0.6778 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.005163/0.2247, allocations: 2.048 MB / 0.6798 GB, free: 8.168 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1)