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.2438/0.2472, allocations: 80.85 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002521/0.2498, allocations: 0.5393 MB / 0.6712 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.2517, allocations: 0.9725 MB / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.2517, allocations: 0 / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.2517, allocations: 0 / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-06/0.2517, allocations: 0 / 0.6721 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.2522, allocations: 63.75 kB / 0.6722 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.2523, allocations: 4 kB / 0.6722 GB, free: 420 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.2524, allocations: 4 kB / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.2524, allocations: 0 / 0.6722 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.2525, allocations: 3.984 kB / 0.6722 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.2525, allocations: 7.938 kB / 0.6722 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.2528, allocations: 91.84 kB / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2528, allocations: 0 / 0.6723 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.2528, allocations: 3.984 kB / 0.6723 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.253, allocations: 51.94 kB / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.253, allocations: 0 / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.253, allocations: 0 / 0.6723 GB, free: 256 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.253, allocations: 0 / 0.6723 GB, free: 256 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.0005325/0.2536, allocations: 319.6 kB / 0.6726 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2536, allocations: 12.03 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.2537, allocations: 4.938 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2538, allocations: 164.3 kB / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2539, allocations: 384 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2539, allocations: 384 / 0.6728 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.254, allocations: 41.62 kB / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.2541, allocations: 0 / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2541, allocations: 0 / 0.6729 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2541, allocations: 3.938 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.026e-05/0.2541, allocations: 7.938 kB / 0.6729 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.2543, allocations: 149.7 kB / 0.673 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 6.009e-05/0.2544, allocations: 18.56 kB / 0.673 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.2545, allocations: 12.95 kB / 0.673 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.2553, allocations: 0.5622 MB / 0.6736 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2553, allocations: 34.56 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.2554, allocations: 3.938 kB / 0.6736 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.2555, allocations: 37.64 kB / 0.6737 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2556, allocations: 51.41 kB / 0.6737 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.2557, allocations: 89.86 kB / 0.6738 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.2557, allocations: 25.7 kB / 0.6738 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.2557, allocations: 88.12 kB / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.2558, allocations: 0 / 0.6739 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.2558, allocations: 9.844 kB / 0.6739 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.256, allocations: 314.8 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.256, allocations: 4 kB / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/0.256, allocations: 0 / 0.6742 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.589e-05/0.2561, allocations: 12.86 kB / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2561, allocations: 0 / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.291e-05/0.2562, allocations: 41.56 kB / 0.6743 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2562, allocations: 4 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2562, allocations: 4.094 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2563, allocations: 4 kB / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.2563, allocations: 0 / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2563, allocations: 0 / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.2564, allocations: 0 / 0.6743 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.2564, allocations: 0 / 0.6743 GB, free: 13.91 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 0.0001092/0.2565, allocations: 113.8 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.2565, allocations: 3.938 kB / 0.6744 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.2567, allocations: 56.64 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2567, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.2567, allocations: 4 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2567, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.2568, allocations: 141.7 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2568, allocations: 0 / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.2569, allocations: 7.922 kB / 0.6746 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2569, allocations: 4 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2569, allocations: 0 / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2569, allocations: 0 / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2569, allocations: 4.031 kB / 0.6746 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.916e-05/0.257, allocations: 57.14 kB / 0.6747 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.2571, allocations: 84.98 kB / 0.6747 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2571, allocations: 7.922 kB / 0.6748 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.082e-05/0.2571, allocations: 0 / 0.6748 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.2572, allocations: 0 / 0.6748 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2572, allocations: 4 kB / 0.6748 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.223e-05/0.2572, allocations: 83.25 kB / 0.6748 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2572, allocations: 4 kB / 0.6748 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003008/0.2575, allocations: 4 kB / 0.6748 GB, free: 13.23 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.0002113/0.2578, allocations: 103.2 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.2579, allocations: 11.98 kB / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2579, allocations: 0 / 0.675 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-06/0.2579, allocations: 4 kB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.2581, allocations: 4.125 kB / 0.675 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.2584, allocations: 80.88 kB / 0.675 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.2589, allocations: 0.669 MB / 0.6757 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.259, allocations: 4 kB / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.259, allocations: 7.438 kB / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of SimCode: time 2.415e-06/0.259, allocations: 0 / 0.6757 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.003242/0.2622, allocations: 304.6 kB / 0.676 GB, free: 11.99 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)