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.1964/0.1983, allocations: 80.84 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00282/0.2012, allocations: 1.474 MB / 0.6721 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2025, allocations: 0.667 MB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.2025, allocations: 4 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.2026, allocations: 7.922 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.2027, allocations: 7.875 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.2031, allocations: 79.72 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.2032, allocations: 31.92 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2033, allocations: 15.94 kB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.2034, allocations: 19.92 kB / 0.6729 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.2035, allocations: 19.92 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2035, allocations: 4 kB / 0.6729 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.2037, allocations: 91.84 kB / 0.673 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.2037, allocations: 19.91 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.2038, allocations: 19.88 kB / 0.673 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.2039, allocations: 75.84 kB / 0.6731 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.2039, allocations: 4 kB / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.61e-07/0.204, allocations: 0 / 0.6731 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.204, allocations: 0 / 0.6731 GB, free: 15.49 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.0004685/0.2044, allocations: 355.4 kB / 0.6734 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.2045, allocations: 8.031 kB / 0.6734 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.2045, allocations: 8.844 kB / 0.6734 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2047, allocations: 168.3 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.2047, allocations: 4.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.2047, allocations: 11.94 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.2049, allocations: 53.61 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2049, allocations: 7.875 kB / 0.6737 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.2049, allocations: 11.98 kB / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2049, allocations: 0 / 0.6737 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.205, allocations: 23.98 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.2054, allocations: 284.7 kB / 0.674 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.2055, allocations: 42.5 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.643e-05/0.2056, allocations: 12.92 kB / 0.674 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/0.2061, allocations: 0.5544 MB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2061, allocations: 30.56 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2061, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.2064, allocations: 69.67 kB / 0.6747 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.2064, allocations: 51.41 kB / 0.6747 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2066, allocations: 125.8 kB / 0.6748 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.2066, allocations: 29.64 kB / 0.6749 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.2066, allocations: 84.14 kB / 0.675 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.2067, allocations: 11.91 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.2067, allocations: 13.7 kB / 0.675 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2068, allocations: 323 kB / 0.6753 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.2069, allocations: 4 kB / 0.6753 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.2069, allocations: 11.98 kB / 0.6753 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.207, allocations: 28.84 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.207, allocations: 0 / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/0.2071, allocations: 53.69 kB / 0.6754 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2072, allocations: 10.34 kB / 0.6754 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2072, allocations: 4 kB / 0.6754 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2072, allocations: 0 / 0.6754 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.2073, allocations: 11.92 kB / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.2073, allocations: 3.938 kB / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.2073, allocations: 0 / 0.6754 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2073, allocations: 4 kB / 0.6754 GB, free: 12.76 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 (2): * Single equations (assignments): 2 * 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 7.467e-05/0.2074, allocations: 109.8 kB / 0.6755 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.2075, allocations: 15.89 kB / 0.6755 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.2076, allocations: 57.16 kB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2076, allocations: 0 / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.2076, allocations: 7.922 kB / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2077, allocations: 0 / 0.6756 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2078, allocations: 165.7 kB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2078, allocations: 0 / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.2079, allocations: 8 kB / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2079, allocations: 0 / 0.6758 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2079, allocations: 7.969 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.2079, allocations: 0 / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.2079, allocations: 7.875 kB / 0.6758 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.2081, allocations: 151.5 kB / 0.6759 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.2082, allocations: 81.02 kB / 0.676 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2082, allocations: 0 / 0.676 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.2083, allocations: 11.97 kB / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.2083, allocations: 7.969 kB / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2083, allocations: 0 / 0.676 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.2084, allocations: 99.27 kB / 0.6761 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2084, allocations: 0 / 0.6761 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002214/0.2086, allocations: 8 kB / 0.6761 GB, free: 11.93 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 (2): * Single equations (assignments): 2 * 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.0001533/0.2088, allocations: 107.2 kB / 0.6762 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.2089, allocations: 27.91 kB / 0.6762 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2089, allocations: 4.062 kB / 0.6762 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.209, allocations: 12 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2092, allocations: 7.938 kB / 0.6763 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.2095, allocations: 128.8 kB / 0.6764 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.2098, allocations: 0.6846 MB / 0.6771 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.2098, allocations: 0 / 0.6771 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.2099, allocations: 19.5 kB / 0.6771 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.2099, allocations: 0 / 0.6771 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.002691/0.2126, allocations: 0.4974 MB / 0.6776 GB, free: 10.39 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.Splice.makefile (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)