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.2024/0.2046, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003856/0.2086, allocations: 1.482 MB / 0.6721 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.2101, allocations: 0.667 MB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.2102, allocations: 0 / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.57e-05/0.2102, allocations: 7.922 kB / 0.6727 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.2103, allocations: 7.938 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.2107, allocations: 75.67 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.527e-05/0.2109, allocations: 39.91 kB / 0.6728 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.211, allocations: 15.94 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.438e-05/0.2111, allocations: 15.92 kB / 0.6729 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.2111, allocations: 19.91 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2112, allocations: 8 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.2114, allocations: 95.78 kB / 0.673 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.2115, allocations: 11.98 kB / 0.673 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.715e-05/0.2116, allocations: 19.88 kB / 0.673 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.2118, allocations: 75.84 kB / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2118, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2118, allocations: 0 / 0.6731 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2118, allocations: 0 / 0.6731 GB, free: 15.43 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.0006219/0.2125, allocations: 359.4 kB / 0.6734 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2125, allocations: 8.031 kB / 0.6734 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.2126, allocations: 12.84 kB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.2127, allocations: 168.3 kB / 0.6736 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2128, allocations: 4.375 kB / 0.6736 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.2128, allocations: 7.875 kB / 0.6736 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.213, allocations: 57.61 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.213, allocations: 4 kB / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.213, allocations: 0 / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.213, allocations: 0 / 0.6737 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2132, allocations: 31.97 kB / 0.6737 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.2137, allocations: 284.6 kB / 0.674 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.2138, allocations: 34.56 kB / 0.674 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.2139, allocations: 8.922 kB / 0.674 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.2145, allocations: 0.5583 MB / 0.6746 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2145, allocations: 34.56 kB / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2145, allocations: 0 / 0.6746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003245/0.2149, allocations: 65.61 kB / 0.6747 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.2149, allocations: 51.41 kB / 0.6747 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2151, allocations: 125.8 kB / 0.6748 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2151, allocations: 29.7 kB / 0.6749 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.2152, allocations: 92.27 kB / 0.675 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2152, allocations: 3.906 kB / 0.675 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.2152, allocations: 9.719 kB / 0.675 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2154, allocations: 322.8 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.2155, allocations: 4 kB / 0.6753 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.984e-05/0.2155, allocations: 15.98 kB / 0.6753 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.2157, allocations: 28.91 kB / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2157, allocations: 0 / 0.6753 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.2158, allocations: 61.47 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2159, allocations: 8 kB / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2159, allocations: 0 / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2159, allocations: 0 / 0.6754 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.216, allocations: 7.984 kB / 0.6754 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.216, allocations: 3.938 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.2161, allocations: 4 kB / 0.6754 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.2161, allocations: 4.031 kB / 0.6754 GB, free: 12.71 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 0.000176/0.2163, allocations: 109.8 kB / 0.6755 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2163, allocations: 7.906 kB / 0.6755 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.2166, allocations: 69.08 kB / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2166, allocations: 0 / 0.6756 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.2166, allocations: 7.922 kB / 0.6756 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2166, allocations: 4 kB / 0.6756 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.2169, allocations: 165.7 kB / 0.6758 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2169, allocations: 4 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.2169, allocations: 8 kB / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.2169, allocations: 0 / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.217, allocations: 0 / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.217, allocations: 0 / 0.6758 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.217, allocations: 3.938 kB / 0.6758 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.2172, allocations: 151.5 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.2173, allocations: 81.02 kB / 0.676 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.2173, allocations: 0 / 0.676 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.2174, allocations: 8 kB / 0.676 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2174, allocations: 11.91 kB / 0.676 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2175, allocations: 0 / 0.676 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.162e-05/0.2175, allocations: 99.64 kB / 0.6761 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2175, allocations: 0 / 0.6761 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003555/0.2179, allocations: 8 kB / 0.6761 GB, free: 11.88 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.0001869/0.2181, allocations: 111.3 kB / 0.6762 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.2183, allocations: 19.98 kB / 0.6762 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2183, allocations: 0 / 0.6762 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.692e-05/0.2184, allocations: 15.98 kB / 0.6763 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.2187, allocations: 8.266 kB / 0.6763 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.2191, allocations: 138.7 kB / 0.6764 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.2195, allocations: 0.6885 MB / 0.6771 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.214e-05/0.2196, allocations: 0 / 0.6771 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.2196, allocations: 11.44 kB / 0.6771 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.2196, allocations: 0 / 0.6771 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.003603/0.2232, allocations: 0.4928 MB / 0.6776 GB, free: 10.34 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)