Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice") [/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.194/0.1947, allocations: 82.22 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002068/0.1968, allocations: 1.176 MB / 0.5945 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1981, allocations: 0.6217 MB / 0.5951 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.1982, allocations: 4 kB / 0.5951 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.1982, allocations: 7.938 kB / 0.5951 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.1983, allocations: 3.984 kB / 0.5951 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.1986, allocations: 55.81 kB / 0.5952 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.1987, allocations: 19.97 kB / 0.5952 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1988, allocations: 11.98 kB / 0.5952 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.199, allocations: 11.94 kB / 0.5952 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.199, allocations: 19.92 kB / 0.5952 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1991, allocations: 0 / 0.5952 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1993, allocations: 87.83 kB / 0.5953 GB, free: 3.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1993, allocations: 11.94 kB / 0.5953 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1993, allocations: 25.7 kB / 0.5954 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1995, allocations: 64.12 kB / 0.5954 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1995, allocations: 4 kB / 0.5954 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1995, allocations: 0 / 0.5954 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1995, allocations: 0 / 0.5954 GB, free: 3.824 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005945/0.2001, allocations: 354.3 kB / 0.5958 GB, free: 3.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.2002, allocations: 8.031 kB / 0.5958 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.2002, allocations: 8 kB / 0.5958 GB, free: 3.418 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.2004, allocations: 171 kB / 0.5959 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2004, allocations: 7.938 kB / 0.596 GB, free: 3.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2005, allocations: 3.953 kB / 0.596 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.2007, allocations: 53.69 kB / 0.596 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2007, allocations: 0 / 0.596 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2007, allocations: 3.984 kB / 0.596 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2007, allocations: 4 kB / 0.596 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.2008, allocations: 31.98 kB / 0.596 GB, free: 3.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.2014, allocations: 284.6 kB / 0.5963 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.317e-05/0.2015, allocations: 30.56 kB / 0.5963 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005805/0.202, allocations: 0.5584 MB / 0.5969 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.2021, allocations: 34.5 kB / 0.5969 GB, free: 2.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.714e-06/0.2021, allocations: 0 / 0.5969 GB, free: 2.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003399/0.2025, allocations: 81.61 kB / 0.597 GB, free: 1.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/0.2025, allocations: 51.41 kB / 0.597 GB, free: 1.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.2027, allocations: 117.8 kB / 0.5972 GB, free: 1.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2027, allocations: 25.7 kB / 0.5972 GB, free: 1.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2028, allocations: 96.06 kB / 0.5973 GB, free: 1.602 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.2028, allocations: 3.906 kB / 0.5973 GB, free: 1.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-06/0.2029, allocations: 0 / 0.5973 GB, free: 1.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.203, allocations: 322.8 kB / 0.5976 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.762e-05/0.2031, allocations: 16.02 kB / 0.5976 GB, free: 1.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.2031, allocations: 8 kB / 0.5976 GB, free: 1.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.826e-05/0.2032, allocations: 15.98 kB / 0.5976 GB, free: 1.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2032, allocations: 4 kB / 0.5976 GB, free: 1.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001585/0.2033, allocations: 61.66 kB / 0.5977 GB, free: 1.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2034, allocations: 7.938 kB / 0.5977 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2034, allocations: 0 / 0.5977 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.2034, allocations: 0 / 0.5977 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.2035, allocations: 11.98 kB / 0.5977 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2035, allocations: 0 / 0.5977 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.2036, allocations: 4 kB / 0.5977 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2036, allocations: 0 / 0.5977 GB, free: 1.141 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 (2): * Single equations (assignments): 2 * 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.536e-05/0.2037, allocations: 113.8 kB / 0.5978 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2037, allocations: 4 kB / 0.5978 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.2039, allocations: 69.19 kB / 0.5979 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2039, allocations: 0 / 0.5979 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.204, allocations: 0 / 0.5979 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.204, allocations: 0 / 0.5979 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2042, allocations: 177.6 kB / 0.5981 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2042, allocations: 0 / 0.5981 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.2043, allocations: 19.95 kB / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2043, allocations: 0 / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2043, allocations: 0 / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2043, allocations: 0 / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2043, allocations: 0 / 0.5981 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.2045, allocations: 163.5 kB / 0.5982 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.2046, allocations: 81.02 kB / 0.5983 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2046, allocations: 0 / 0.5983 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.2047, allocations: 4 kB / 0.5983 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.2047, allocations: 7.984 kB / 0.5983 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2048, allocations: 4 kB / 0.5983 GB, free: 424 kB / 446.1 MB Notification: Performance of sorting global known variables: time 7.261e-05/0.2048, allocations: 97.83 kB / 0.5984 GB, free: 328 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2048, allocations: 3.938 kB / 0.5984 GB, free: 324 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.2051, allocations: 12 kB / 0.5984 GB, free: 312 kB / 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 (2): * Single equations (assignments): 2 * 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.0002499/0.2054, allocations: 111.3 kB / 0.5985 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.2055, allocations: 27.92 kB / 0.5986 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2055, allocations: 0 / 0.5986 GB, free: 164 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.76e-05/0.2056, allocations: 15.98 kB / 0.5986 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.2058, allocations: 4 kB / 0.5986 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.2062, allocations: 156.5 kB / 0.5987 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2066, allocations: 0.6887 MB / 0.5994 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.679e-05/0.2066, allocations: 0 / 0.5994 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.2067, allocations: 11.44 kB / 0.5994 GB, free: 15.23 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2067, allocations: 3.938 kB / 0.5994 GB, free: 15.23 MB / 462.1 MB Notification: Performance of Templates: time 0.002881/0.2095, allocations: 440.9 kB / 0.5998 GB, free: 14.8 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: