Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [/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.205/0.2057, allocations: 82.21 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007836/0.2066, allocations: 286.8 kB / 0.5936 GB, free: 5.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.208, allocations: 0.9375 MB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.2081, allocations: 0 / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.2081, allocations: 0 / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.2081, allocations: 0 / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.2084, allocations: 51.81 kB / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.825e-05/0.2085, allocations: 0 / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.2085, allocations: 0 / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.2086, allocations: 0 / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.598e-05/0.2086, allocations: 4 kB / 0.5946 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.2086, allocations: 0 / 0.5946 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.2089, allocations: 95.77 kB / 0.5947 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-06/0.2089, allocations: 0 / 0.5947 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2089, allocations: 25.7 kB / 0.5947 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.209, allocations: 31.95 kB / 0.5948 GB, free: 4.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.209, allocations: 0 / 0.5948 GB, free: 4.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.209, allocations: 4 kB / 0.5948 GB, free: 4.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.209, allocations: 0 / 0.5948 GB, free: 4.562 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003472/0.2094, allocations: 322.5 kB / 0.5951 GB, free: 4.203 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.2095, allocations: 8.031 kB / 0.5951 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2095, allocations: 4 kB / 0.5951 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2096, allocations: 159.1 kB / 0.5952 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.2096, allocations: 4 kB / 0.5952 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2096, allocations: 0 / 0.5952 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2098, allocations: 37.59 kB / 0.5953 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2098, allocations: 0 / 0.5953 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2098, allocations: 0 / 0.5953 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2098, allocations: 0 / 0.5953 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.2099, allocations: 11.94 kB / 0.5953 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.2101, allocations: 145.7 kB / 0.5954 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.653e-05/0.2101, allocations: 18.61 kB / 0.5954 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.2108, allocations: 0.5623 MB / 0.596 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2108, allocations: 34.55 kB / 0.596 GB, free: 2.984 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.2109, allocations: 0 / 0.596 GB, free: 2.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001565/0.211, allocations: 37.59 kB / 0.5961 GB, free: 2.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.2111, allocations: 51.41 kB / 0.5961 GB, free: 2.879 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.2111, allocations: 89.86 kB / 0.5962 GB, free: 2.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2112, allocations: 29.7 kB / 0.5962 GB, free: 2.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.2112, allocations: 88.27 kB / 0.5963 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.2113, allocations: 8.125 kB / 0.5963 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.2113, allocations: 3.938 kB / 0.5963 GB, free: 2.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2114, allocations: 310.8 kB / 0.5966 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.2114, allocations: 0 / 0.5966 GB, free: 2.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-06/0.2114, allocations: 4 kB / 0.5966 GB, free: 2.328 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.2115, allocations: 3.984 kB / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2115, allocations: 0 / 0.5966 GB, free: 2.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.604e-05/0.2115, allocations: 37.7 kB / 0.5967 GB, free: 2.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2115, allocations: 8 kB / 0.5967 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2116, allocations: 0 / 0.5967 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2116, allocations: 0 / 0.5967 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.153e-05/0.2116, allocations: 3.953 kB / 0.5967 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2117, allocations: 4 kB / 0.5967 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.2117, allocations: 0 / 0.5967 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2117, allocations: 0 / 0.5967 GB, free: 2.266 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 (1): * Single equations (assignments): 1 * 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.356e-05/0.2118, allocations: 117.8 kB / 0.5968 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.2118, allocations: 4.031 kB / 0.5968 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2119, allocations: 36.83 kB / 0.5968 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2119, allocations: 0 / 0.5968 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2119, allocations: 3.953 kB / 0.5968 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2119, allocations: 0 / 0.5968 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2121, allocations: 149.7 kB / 0.597 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2121, allocations: 0 / 0.597 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.725e-05/0.2121, allocations: 7.938 kB / 0.597 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2121, allocations: 4.031 kB / 0.597 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2121, allocations: 0 / 0.597 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.2121, allocations: 0 / 0.597 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2121, allocations: 3.938 kB / 0.597 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.28e-05/0.2122, allocations: 61.08 kB / 0.597 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2123, allocations: 77.11 kB / 0.5971 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2123, allocations: 0 / 0.5971 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.2123, allocations: 0 / 0.5971 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.2124, allocations: 8.031 kB / 0.5971 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2124, allocations: 8 kB / 0.5971 GB, free: 1.691 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.307e-05/0.2124, allocations: 75.28 kB / 0.5972 GB, free: 1.617 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2124, allocations: 0 / 0.5972 GB, free: 1.617 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001975/0.2126, allocations: 11.95 kB / 0.5972 GB, free: 1.605 MB / 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 (1): * Single equations (assignments): 1 * 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.0001738/0.2128, allocations: 107.2 kB / 0.5973 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.704e-05/0.2129, allocations: 7.938 kB / 0.5973 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2129, allocations: 4.062 kB / 0.5973 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.2129, allocations: 4 kB / 0.5973 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.573e-05/0.213, allocations: 0 / 0.5973 GB, free: 1.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001959/0.2132, allocations: 71 kB / 0.5974 GB, free: 1.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2135, allocations: 0.6731 MB / 0.5981 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.282e-05/0.2135, allocations: 3.984 kB / 0.5981 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.2136, allocations: 11.44 kB / 0.5981 GB, free: 0.668 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2136, allocations: 4.062 kB / 0.5981 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of Templates: time 0.002086/0.2157, allocations: 287.7 kB / 0.5984 GB, free: 400 kB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: