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.233/0.2372, allocations: 80.82 MB / 0.6706 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001901/0.2391, allocations: 0.558 MB / 0.6712 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.2407, allocations: 0.9686 MB / 0.6721 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.2407, allocations: 0 / 0.6721 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.2407, allocations: 4 kB / 0.6721 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.834e-06/0.2407, allocations: 0 / 0.6721 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2411, allocations: 63.75 kB / 0.6722 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.2412, allocations: 4 kB / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.2413, allocations: 0 / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.679e-05/0.2413, allocations: 0 / 0.6722 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.2413, allocations: 3.938 kB / 0.6722 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.2414, allocations: 0 / 0.6722 GB, free: 224 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2416, allocations: 95.89 kB / 0.6723 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.02e-05/0.2416, allocations: 0 / 0.6723 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.2416, allocations: 4 kB / 0.6723 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.2418, allocations: 51.94 kB / 0.6723 GB, free: 72 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2418, allocations: 0 / 0.6723 GB, free: 72 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2418, allocations: 0 / 0.6723 GB, free: 72 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2418, allocations: 0 / 0.6723 GB, free: 72 kB / 0.4981 GB 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.0003891/0.2422, allocations: 315.6 kB / 0.6726 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.2422, allocations: 12.03 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2423, allocations: 4.922 kB / 0.6727 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.158e-05/0.2424, allocations: 168.3 kB / 0.6728 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2424, allocations: 4.375 kB / 0.6728 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2424, allocations: 384 / 0.6728 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.2425, allocations: 33.64 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2425, allocations: 3.938 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2426, allocations: 0 / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2426, allocations: 0 / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.2426, allocations: 4 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2427, allocations: 153.7 kB / 0.673 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.2428, allocations: 22.52 kB / 0.673 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.2428, allocations: 12.89 kB / 0.6731 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.2434, allocations: 0.5583 MB / 0.6736 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2434, allocations: 34.56 kB / 0.6736 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2435, allocations: 0 / 0.6736 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.2436, allocations: 33.78 kB / 0.6737 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2437, allocations: 55.44 kB / 0.6737 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.2437, allocations: 93.86 kB / 0.6738 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2437, allocations: 25.7 kB / 0.6738 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.2438, allocations: 80.14 kB / 0.6739 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.2438, allocations: 4 kB / 0.6739 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.2438, allocations: 13.66 kB / 0.6739 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.244, allocations: 310.8 kB / 0.6742 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.244, allocations: 4 kB / 0.6742 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-06/0.244, allocations: 7.984 kB / 0.6742 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.58e-05/0.244, allocations: 12.86 kB / 0.6742 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.244, allocations: 0 / 0.6742 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.904e-05/0.2441, allocations: 33.64 kB / 0.6743 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2441, allocations: 4 kB / 0.6743 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2441, allocations: 4 kB / 0.6743 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2441, allocations: 4 kB / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/0.2442, allocations: 0 / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.2442, allocations: 8.031 kB / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.2442, allocations: 0 / 0.6743 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2442, allocations: 0 / 0.6743 GB, free: 13.73 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 (1): * Single equations (assignments): 1 * 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.217e-05/0.2443, allocations: 117.8 kB / 0.6744 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.2443, allocations: 3.938 kB / 0.6744 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.2444, allocations: 40.73 kB / 0.6744 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2444, allocations: 0 / 0.6744 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2445, allocations: 8.031 kB / 0.6745 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2445, allocations: 0 / 0.6745 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.876e-05/0.2446, allocations: 145.7 kB / 0.6746 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2446, allocations: 3.984 kB / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.2446, allocations: 3.938 kB / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2446, allocations: 4 kB / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.2446, allocations: 0 / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2446, allocations: 0 / 0.6746 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2446, allocations: 7.875 kB / 0.6746 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.2447, allocations: 69.06 kB / 0.6747 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.2448, allocations: 81.05 kB / 0.6748 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2448, allocations: 0 / 0.6748 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.2448, allocations: 0 / 0.6748 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.2448, allocations: 0 / 0.6748 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.2448, allocations: 0 / 0.6748 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.2449, allocations: 75.28 kB / 0.6748 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2449, allocations: 0 / 0.6748 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001931/0.2451, allocations: 8 kB / 0.6748 GB, free: 13.06 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 (1): * Single equations (assignments): 1 * 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.0001672/0.2452, allocations: 111.3 kB / 0.6749 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.227e-05/0.2453, allocations: 7.938 kB / 0.6749 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.2453, allocations: 4 kB / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/0.2453, allocations: 4 kB / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2455, allocations: 0 / 0.675 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001912/0.2457, allocations: 84.86 kB / 0.675 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.2459, allocations: 0.673 MB / 0.6757 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.2459, allocations: 4 kB / 0.6757 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.246, allocations: 7.438 kB / 0.6757 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.246, allocations: 0 / 0.6757 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.002594/0.2486, allocations: 296.7 kB / 0.676 GB, free: 11.82 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)