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.179/0.1797, allocations: 82.24 MB / 0.5941 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.00183/0.1816, allocations: 1.194 MB / 0.5953 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1828, allocations: 0.664 MB / 0.5959 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.729e-05/0.1829, allocations: 0 / 0.5959 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1829, allocations: 7.922 kB / 0.5959 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.224e-05/0.183, allocations: 11.94 kB / 0.5959 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1832, allocations: 51.88 kB / 0.596 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.001e-05/0.1833, allocations: 31.92 kB / 0.596 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1834, allocations: 12.27 kB / 0.596 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.1835, allocations: 19.88 kB / 0.5961 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.1836, allocations: 15.92 kB / 0.5961 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.1836, allocations: 0 / 0.5961 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1838, allocations: 95.89 kB / 0.5962 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.1838, allocations: 3.938 kB / 0.5962 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.638e-05/0.1838, allocations: 41.62 kB / 0.5962 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.184, allocations: 79.7 kB / 0.5963 GB, free: 3.352 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.184, allocations: 0 / 0.5963 GB, free: 3.352 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.184, allocations: 0 / 0.5963 GB, free: 3.352 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.184, allocations: 0 / 0.5963 GB, free: 3.352 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.0004192/0.1844, allocations: 363.3 kB / 0.5966 GB, free: 2.949 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1845, allocations: 12.03 kB / 0.5966 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1845, allocations: 0.9375 kB / 0.5966 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1847, allocations: 168.3 kB / 0.5968 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1847, allocations: 4.375 kB / 0.5968 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1847, allocations: 8.125 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.1849, allocations: 61.61 kB / 0.5969 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.185, allocations: 0 / 0.5969 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.185, allocations: 0 / 0.5969 GB, free: 2.656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.185, allocations: 4 kB / 0.5969 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1851, allocations: 27.98 kB / 0.5969 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.1856, allocations: 280.7 kB / 0.5972 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.975e-05/0.1857, allocations: 42.5 kB / 0.5972 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.1857, allocations: 16.92 kB / 0.5972 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.1863, allocations: 0.5583 MB / 0.5978 GB, free: 1.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1863, allocations: 30.56 kB / 0.5978 GB, free: 1.504 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1863, allocations: 0 / 0.5978 GB, free: 1.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002472/0.1865, allocations: 81.55 kB / 0.5979 GB, free: 1.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1866, allocations: 51.41 kB / 0.5979 GB, free: 1.355 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1867, allocations: 125.7 kB / 0.5981 GB, free: 1.223 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1867, allocations: 29.7 kB / 0.5981 GB, free: 1.188 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.1868, allocations: 88.14 kB / 0.5982 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1868, allocations: 7.891 kB / 0.5982 GB, free: 1.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.1868, allocations: 17.84 kB / 0.5982 GB, free: 1.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1869, allocations: 314.8 kB / 0.5985 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.187, allocations: 11.98 kB / 0.5985 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.187, allocations: 12 kB / 0.5985 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.544e-05/0.1871, allocations: 32.91 kB / 0.5985 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1871, allocations: 0 / 0.5985 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001379/0.1873, allocations: 61.53 kB / 0.5986 GB, free: 0.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1873, allocations: 7.984 kB / 0.5986 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1873, allocations: 4 kB / 0.5986 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1873, allocations: 0 / 0.5986 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.1874, allocations: 4 kB / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1874, allocations: 0 / 0.5986 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.576e-05/0.1875, allocations: 11.97 kB / 0.5986 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.1875, allocations: 4 kB / 0.5986 GB, free: 0.5938 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.99e-05/0.1876, allocations: 117.8 kB / 0.5987 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.1876, allocations: 7.891 kB / 0.5988 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.1878, allocations: 61.2 kB / 0.5988 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.1878, allocations: 4 kB / 0.5988 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1878, allocations: 7.969 kB / 0.5988 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1878, allocations: 3.938 kB / 0.5988 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.188, allocations: 165.7 kB / 0.599 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.188, allocations: 0 / 0.599 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.188, allocations: 4 kB / 0.599 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.188, allocations: 0 / 0.599 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.188, allocations: 0 / 0.599 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.188, allocations: 7.984 kB / 0.599 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.188, allocations: 0 / 0.599 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.1882, allocations: 155.5 kB / 0.5991 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1883, allocations: 85.02 kB / 0.5992 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1883, allocations: 0 / 0.5992 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.214e-05/0.1884, allocations: 7.875 kB / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.1884, allocations: 7.938 kB / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1884, allocations: 0 / 0.5992 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.349e-05/0.1885, allocations: 103.3 kB / 0.5993 GB, free: 15.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1885, allocations: 0 / 0.5993 GB, free: 15.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.1887, allocations: 11.94 kB / 0.5993 GB, free: 15.76 MB / 462.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 (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.0001472/0.1889, allocations: 103.2 kB / 0.5994 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.189, allocations: 27.98 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.189, allocations: 4.062 kB / 0.5995 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1891, allocations: 12 kB / 0.5995 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.1893, allocations: 7.172 kB / 0.5995 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.1896, allocations: 152.4 kB / 0.5996 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1898, allocations: 0.6849 MB / 0.6003 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.1899, allocations: 4 kB / 0.6003 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.1899, allocations: 7.438 kB / 0.6003 GB, free: 14.71 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1899, allocations: 0 / 0.6003 GB, free: 14.71 MB / 462.1 MB Notification: Performance of Templates: time 0.002312/0.1922, allocations: 446.8 kB / 0.6007 GB, free: 14.27 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: