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.2073/0.2084, allocations: 82.22 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.001996/0.2105, allocations: 1.174 MB / 0.5946 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2117, allocations: 0.6293 MB / 0.5952 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2118, allocations: 0 / 0.5952 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2119, allocations: 0 / 0.5952 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.2119, allocations: 7.938 kB / 0.5952 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2122, allocations: 59.81 kB / 0.5953 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.404e-05/0.2123, allocations: 35.91 kB / 0.5953 GB, free: 4.023 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.2124, allocations: 11.98 kB / 0.5953 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.2124, allocations: 11.94 kB / 0.5954 GB, free: 4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.639e-05/0.2125, allocations: 15.92 kB / 0.5954 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.2125, allocations: 8 kB / 0.5954 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2127, allocations: 87.84 kB / 0.5955 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.2127, allocations: 3.984 kB / 0.5955 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.2127, allocations: 33.7 kB / 0.5955 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2128, allocations: 56.08 kB / 0.5955 GB, free: 3.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2128, allocations: 0 / 0.5955 GB, free: 3.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2128, allocations: 0 / 0.5955 GB, free: 3.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.2128, allocations: 0 / 0.5955 GB, free: 3.793 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.000461/0.2133, allocations: 355.2 kB / 0.5959 GB, free: 3.398 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2134, allocations: 16.03 kB / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.2134, allocations: 0 / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.2136, allocations: 171 kB / 0.5961 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2136, allocations: 0 / 0.5961 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.2136, allocations: 11.95 kB / 0.5961 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.2138, allocations: 53.61 kB / 0.5961 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2138, allocations: 0 / 0.5961 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2138, allocations: 8 kB / 0.5961 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2138, allocations: 0 / 0.5961 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.995e-05/0.2139, allocations: 31.98 kB / 0.5962 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.2143, allocations: 284.6 kB / 0.5964 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.2144, allocations: 34.56 kB / 0.5965 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.2145, allocations: 24.91 kB / 0.5965 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.215, allocations: 0.5544 MB / 0.597 GB, free: 1.984 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.215, allocations: 30.56 kB / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.918e-06/0.215, allocations: 0 / 0.5971 GB, free: 1.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002662/0.2153, allocations: 81.52 kB / 0.5971 GB, free: 1.859 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.2154, allocations: 51.41 kB / 0.5972 GB, free: 1.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2155, allocations: 117.8 kB / 0.5973 GB, free: 1.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2155, allocations: 25.7 kB / 0.5973 GB, free: 1.641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2156, allocations: 92.12 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.2156, allocations: 7.906 kB / 0.5974 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2156, allocations: 0 / 0.5974 GB, free: 1.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2157, allocations: 318.9 kB / 0.5977 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.2158, allocations: 15.98 kB / 0.5977 GB, free: 1.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.2158, allocations: 8 kB / 0.5978 GB, free: 1.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/0.2159, allocations: 19.92 kB / 0.5978 GB, free: 1.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2159, allocations: 0 / 0.5978 GB, free: 1.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001197/0.216, allocations: 65.59 kB / 0.5978 GB, free: 1.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.216, allocations: 8 kB / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.216, allocations: 0 / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.216, allocations: 0 / 0.5978 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.2161, allocations: 7.984 kB / 0.5978 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.2161, allocations: 0 / 0.5978 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.2162, allocations: 4 kB / 0.5979 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2162, allocations: 0 / 0.5979 GB, free: 1.086 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 0.0001025/0.2163, allocations: 121.8 kB / 0.598 GB, free: 0.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.2163, allocations: 4 kB / 0.598 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2165, allocations: 69.12 kB / 0.598 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2165, allocations: 0 / 0.598 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2165, allocations: 0 / 0.598 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2165, allocations: 0 / 0.598 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.2167, allocations: 177.5 kB / 0.5982 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2167, allocations: 4.031 kB / 0.5982 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.2168, allocations: 4 kB / 0.5982 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2168, allocations: 4 kB / 0.5982 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2168, allocations: 0 / 0.5982 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2168, allocations: 3.938 kB / 0.5982 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2168, allocations: 4 kB / 0.5982 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.217, allocations: 159.5 kB / 0.5984 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.217, allocations: 85.02 kB / 0.5985 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2171, allocations: 3.938 kB / 0.5985 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.2171, allocations: 4 kB / 0.5985 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.2172, allocations: 3.984 kB / 0.5985 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.2172, allocations: 0 / 0.5985 GB, free: 364 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.2172, allocations: 102.7 kB / 0.5986 GB, free: 264 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2173, allocations: 0 / 0.5986 GB, free: 264 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002233/0.2175, allocations: 16.03 kB / 0.5986 GB, free: 248 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.0001784/0.2177, allocations: 111.2 kB / 0.5987 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.2178, allocations: 23.98 kB / 0.5987 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2178, allocations: 0 / 0.5987 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.2179, allocations: 19.98 kB / 0.5987 GB, free: 84 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2181, allocations: 8.078 kB / 0.5987 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.2185, allocations: 148.4 kB / 0.5989 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2188, allocations: 0.6809 MB / 0.5995 GB, free: 15.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.2188, allocations: 4 kB / 0.5995 GB, free: 15.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2188, allocations: 11.44 kB / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2189, allocations: 0 / 0.5996 GB, free: 15.18 MB / 462.1 MB Notification: Performance of Templates: time 0.002804/0.2217, allocations: 442 kB / 0.6 GB, free: 14.75 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: