Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [/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.5547/0.5581, allocations: 80.81 MB / 0.5904 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002274/0.5604, allocations: 0.548 MB / 0.591 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.5618, allocations: 0.9642 MB / 0.5919 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.5618, allocations: 1.125 kB / 0.5919 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.5618, allocations: 3.938 kB / 0.5919 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.5618, allocations: 1.094 kB / 0.5919 GB, free: 21.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003733/0.5622, allocations: 60.03 kB / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.801e-05/0.5623, allocations: 5.641 kB / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.5623, allocations: 1.594 kB / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.788e-05/0.5623, allocations: 1.469 kB / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.076e-05/0.5624, allocations: 0 / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.5624, allocations: 2.188 kB / 0.592 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.5626, allocations: 97.73 kB / 0.5921 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.5626, allocations: 2.062 kB / 0.5921 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.5627, allocations: 4 kB / 0.5921 GB, free: 21.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.5628, allocations: 46 kB / 0.5921 GB, free: 21.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5628, allocations: 0 / 0.5921 GB, free: 21.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5628, allocations: 1.469 kB / 0.5921 GB, free: 21.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.5628, allocations: 1.656 kB / 0.5921 GB, free: 21.21 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002908/0.5631, allocations: 333.3 kB / 0.5924 GB, free: 20.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5632, allocations: 9.531 kB / 0.5924 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5632, allocations: 1.969 kB / 0.5924 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.753e-05/0.5633, allocations: 160.4 kB / 0.5926 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5633, allocations: 4.375 kB / 0.5926 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.5633, allocations: 0.875 kB / 0.5926 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.5634, allocations: 31.2 kB / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5634, allocations: 0 / 0.5926 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5635, allocations: 3.938 kB / 0.5926 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5635, allocations: 2.062 kB / 0.5926 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.5635, allocations: 4 kB / 0.5926 GB, free: 20.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.5636, allocations: 149.7 kB / 0.5928 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.5637, allocations: 22.45 kB / 0.5928 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.5637, allocations: 4.859 kB / 0.5928 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004414/0.5641, allocations: 0.5649 MB / 0.5934 GB, free: 19.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.5642, allocations: 34.5 kB / 0.5934 GB, free: 19.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5642, allocations: 0 / 0.5934 GB, free: 19.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.5643, allocations: 41.05 kB / 0.5934 GB, free: 19.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.5644, allocations: 51.41 kB / 0.5935 GB, free: 19.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.675e-05/0.5644, allocations: 89.86 kB / 0.5936 GB, free: 19.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.5644, allocations: 25.7 kB / 0.5936 GB, free: 19.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.314e-05/0.5644, allocations: 80.14 kB / 0.5937 GB, free: 19.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.5644, allocations: 10.58 kB / 0.5937 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.5645, allocations: 13.72 kB / 0.5937 GB, free: 19.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.5645, allocations: 318.3 kB / 0.594 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.5645, allocations: 0 / 0.594 GB, free: 18.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.5645, allocations: 0 / 0.594 GB, free: 18.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.5646, allocations: 12.8 kB / 0.594 GB, free: 18.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5646, allocations: 3.938 kB / 0.594 GB, free: 18.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.251e-05/0.5646, allocations: 37.7 kB / 0.594 GB, free: 18.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5647, allocations: 7.938 kB / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5647, allocations: 4.219 kB / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5647, allocations: 0 / 0.5941 GB, free: 18.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.5647, allocations: 4 kB / 0.5941 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5647, allocations: 0 / 0.5941 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.5648, allocations: 7.984 kB / 0.5941 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.5648, allocations: 0 / 0.5941 GB, free: 18.89 MB / 446.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.45e-05/0.5648, allocations: 105.8 kB / 0.5942 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-06/0.5648, allocations: 3.938 kB / 0.5942 GB, free: 18.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.384e-05/0.5649, allocations: 52.75 kB / 0.5942 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.5649, allocations: 0 / 0.5942 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5649, allocations: 7.969 kB / 0.5942 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5649, allocations: 3.938 kB / 0.5942 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.434e-05/0.565, allocations: 141.7 kB / 0.5944 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.565, allocations: 0 / 0.5944 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.565, allocations: 4 kB / 0.5944 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.565, allocations: 3.938 kB / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.565, allocations: 0 / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5651, allocations: 0 / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.5651, allocations: 4.031 kB / 0.5944 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.23e-05/0.5651, allocations: 61.12 kB / 0.5944 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.5651, allocations: 84.98 kB / 0.5945 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.5652, allocations: 0 / 0.5945 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-06/0.5652, allocations: 0 / 0.5945 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.5652, allocations: 4 kB / 0.5945 GB, free: 18.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.5652, allocations: 0 / 0.5945 GB, free: 18.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.68e-05/0.5652, allocations: 79.31 kB / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5652, allocations: 0 / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.5655, allocations: 7.984 kB / 0.5946 GB, free: 18.23 MB / 446.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001439/0.5656, allocations: 107.2 kB / 0.5947 GB, free: 18.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.5657, allocations: 4 kB / 0.5947 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5657, allocations: 0 / 0.5947 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-06/0.5657, allocations: 4 kB / 0.5947 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.5659, allocations: 11.67 kB / 0.5947 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.566, allocations: 88.86 kB / 0.5948 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.5662, allocations: 0.6729 MB / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.231e-05/0.5662, allocations: 0 / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.5662, allocations: 7.438 kB / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5662, allocations: 0 / 0.5955 GB, free: 17.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002499/0.5687, allocations: 293.9 kB / 0.5958 GB, free: 17.01 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)