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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7383/0.7383, allocations: 132.4 MB / 139.9 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 167.6 kB / 171.8 MB, free: 2.055 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.3/1.3, allocations: 170.6 MB / 374.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 109.3 kB / 444.8 MB, free: 9.297 MB / 346.7 MB [/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.4392/0.4392, allocations: 73.4 MB / 0.6666 GB, free: 46.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1322/0.5714, allocations: 101 MB / 0.7653 GB, free: 3.781 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.5717, allocations: 78.16 kB / 0.7653 GB, free: 3.707 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003542/0.5753, allocations: 1.188 MB / 0.7665 GB, free: 2.543 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5753, allocations: 0 / 0.7665 GB, free: 2.543 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.5753, allocations: 0.6875 kB / 0.7665 GB, free: 2.543 MB / 474.7 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.0002293/0.5756, allocations: 327.8 kB / 0.7668 GB, free: 2.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5756, allocations: 8.031 kB / 0.7668 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.5756, allocations: 4.625 kB / 0.7668 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.5757, allocations: 169.8 kB / 0.767 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.5758, allocations: 0 / 0.767 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.5758, allocations: 2.219 kB / 0.767 GB, free: 1.969 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.992e-05/0.5759, allocations: 8.781 kB / 0.767 GB, free: 1.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.176e-05/0.5759, allocations: 29.2 kB / 0.767 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.5759, allocations: 3.609 kB / 0.767 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.576, allocations: 0 / 0.767 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.576, allocations: 0 / 0.767 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.5761, allocations: 126.2 kB / 0.7672 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.301e-05/0.5761, allocations: 21.56 kB / 0.7672 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.5761, allocations: 7.703 kB / 0.7672 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004523/0.5766, allocations: 0.5584 MB / 0.7677 GB, free: 1.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.5766, allocations: 35.5 kB / 0.7678 GB, free: 1.004 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5767, allocations: 0 / 0.7678 GB, free: 1.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.5768, allocations: 35.27 kB / 0.7678 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.5768, allocations: 61.86 kB / 0.7679 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.844e-05/0.5769, allocations: 85 kB / 0.7679 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.5769, allocations: 29.73 kB / 0.768 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.5769, allocations: 80.14 kB / 0.768 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.577, allocations: 2.031 kB / 0.768 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.577, allocations: 4 kB / 0.768 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5771, allocations: 314.8 kB / 0.7683 GB, free: 376 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.5771, allocations: 0.75 kB / 0.7683 GB, free: 376 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.5771, allocations: 0 / 0.7683 GB, free: 376 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.5772, allocations: 4 kB / 0.7684 GB, free: 372 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5772, allocations: 4.062 kB / 0.7684 GB, free: 368 kB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.638e-05/0.5772, allocations: 33.69 kB / 0.7684 GB, free: 328 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5773, allocations: 8 kB / 0.7684 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5773, allocations: 4.875 kB / 0.7684 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.5773, allocations: 0 / 0.7684 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.141e-05/0.5773, allocations: 2.297 kB / 0.7684 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5773, allocations: 0 / 0.7684 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.5774, allocations: 4 kB / 0.7684 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.5774, allocations: 3.953 kB / 0.7684 GB, free: 308 kB / 474.7 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 () * 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 6.397e-05/0.5774, allocations: 105 kB / 0.7685 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-06/0.5775, allocations: 0 / 0.7685 GB, free: 196 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5776, allocations: 41.44 kB / 0.7686 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.5776, allocations: 0 / 0.7686 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5776, allocations: 4.984 kB / 0.7686 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5776, allocations: 0 / 0.7686 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.031e-05/0.5777, allocations: 130.2 kB / 0.7687 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5777, allocations: 0.9844 kB / 0.7687 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.746e-05/0.5777, allocations: 12.02 kB / 0.7687 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5777, allocations: 0 / 0.7687 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-06/0.5777, allocations: 0 / 0.7687 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.5777, allocations: 1 kB / 0.7687 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5778, allocations: 4.969 kB / 0.7687 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.529e-05/0.5778, allocations: 57.72 kB / 0.7688 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.5779, allocations: 81.09 kB / 0.7688 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.5779, allocations: 0 / 0.7688 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-06/0.5779, allocations: 4.031 kB / 0.7688 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.5779, allocations: 4 kB / 0.7688 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.578, allocations: 1.062 kB / 0.7688 GB, free: 15.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.661e-05/0.578, allocations: 75.28 kB / 0.7689 GB, free: 15.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.578, allocations: 0 / 0.7689 GB, free: 15.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.5782, allocations: 11.94 kB / 0.7689 GB, free: 15.7 MB / 490.7 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 () * 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.0001551/0.5783, allocations: 103.2 kB / 0.769 GB, free: 15.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.593e-05/0.5784, allocations: 15.45 kB / 0.769 GB, free: 15.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5784, allocations: 3.938 kB / 0.769 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.5784, allocations: 4 kB / 0.769 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.283e-05/0.5785, allocations: 7.922 kB / 0.7691 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001468/0.5787, allocations: 44.02 kB / 0.7691 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5789, allocations: 0.6768 MB / 0.7698 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.379e-05/0.5789, allocations: 128 / 0.7698 GB, free: 14.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.257e-05/0.579, allocations: 11.44 kB / 0.7698 GB, free: 14.79 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.579, allocations: 0 / 0.7698 GB, free: 14.79 MB / 490.7 MB Notification: Performance of Templates: time 0.001798/0.5808, allocations: 272.7 kB / 0.77 GB, free: 14.55 MB / 490.7 MB 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)