Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5933/0.5933, allocations: 95.58 MB / 366 MB, free: 10.42 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006058/0.0006059, allocations: 16 kB / 446.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.333, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006312/0.3337, allocations: 269.7 kB / 0.5053 GB, free: 16.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.3346, allocations: 0.943 MB / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.465e-05/0.3346, allocations: 0 / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.3346, allocations: 0 / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.3347, allocations: 0 / 0.5062 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.3349, allocations: 43.83 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.114e-05/0.335, allocations: 0 / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.335, allocations: 0 / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.677e-05/0.3351, allocations: 0 / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.3351, allocations: 4 kB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.3351, allocations: 4 kB / 0.5062 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.3353, allocations: 83.91 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.3353, allocations: 11.91 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3353, allocations: 25.7 kB / 0.5063 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.378e-05/0.3354, allocations: 27.97 kB / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3354, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3354, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3355, allocations: 0 / 0.5064 GB, free: 15.12 MB / 382.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.000229/0.3357, allocations: 322.7 kB / 0.5067 GB, free: 14.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3357, allocations: 15.98 kB / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.3358, allocations: 0 / 0.5067 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.688e-05/0.3358, allocations: 167.1 kB / 0.5068 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3359, allocations: 4 kB / 0.5069 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.3359, allocations: 0 / 0.5069 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.336, allocations: 33.59 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.336, allocations: 0 / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.336, allocations: 3.984 kB / 0.5069 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.336, allocations: 4 kB / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.336, allocations: 0 / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.3361, allocations: 153.7 kB / 0.507 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.3362, allocations: 18.61 kB / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/0.3366, allocations: 0.5584 MB / 0.5076 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.3366, allocations: 34.5 kB / 0.5076 GB, free: 13.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3366, allocations: 4 kB / 0.5076 GB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.3368, allocations: 41.55 kB / 0.5077 GB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.3368, allocations: 55.41 kB / 0.5077 GB, free: 13.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.964e-05/0.3368, allocations: 93.8 kB / 0.5078 GB, free: 13.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.3368, allocations: 25.7 kB / 0.5078 GB, free: 13.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.581e-05/0.3369, allocations: 80.14 kB / 0.5079 GB, free: 13.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.3369, allocations: 4 kB / 0.5079 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.3369, allocations: 0 / 0.5079 GB, free: 13.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.917e-05/0.337, allocations: 315 kB / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.337, allocations: 0 / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.337, allocations: 4 kB / 0.5082 GB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.563e-05/0.337, allocations: 7.875 kB / 0.5082 GB, free: 12.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.337, allocations: 0 / 0.5082 GB, free: 12.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.155e-05/0.3371, allocations: 37.69 kB / 0.5083 GB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.3371, allocations: 4 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3371, allocations: 0 / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3371, allocations: 3.953 kB / 0.5083 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.3372, allocations: 8.094 kB / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3372, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.3372, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3372, allocations: 0 / 0.5083 GB, free: 12.81 MB / 382.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 5.12e-05/0.3372, allocations: 109.8 kB / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-06/0.3373, allocations: 0 / 0.5084 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.65e-05/0.3374, allocations: 48.7 kB / 0.5084 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3374, allocations: 4.031 kB / 0.5084 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3374, allocations: 3.953 kB / 0.5084 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.3374, allocations: 0 / 0.5084 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.897e-05/0.3374, allocations: 149.7 kB / 0.5086 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3374, allocations: 0 / 0.5086 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-05/0.3375, allocations: 4 kB / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3375, allocations: 0 / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.3375, allocations: 0 / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3375, allocations: 0 / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3375, allocations: 0 / 0.5086 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.222e-05/0.3375, allocations: 65.09 kB / 0.5087 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3376, allocations: 83.06 kB / 0.5087 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.3376, allocations: 3.938 kB / 0.5087 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-06/0.3376, allocations: 0 / 0.5087 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.3376, allocations: 4 kB / 0.5087 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.3376, allocations: 0 / 0.5087 GB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.604e-05/0.3377, allocations: 79.23 kB / 0.5088 GB, free: 12.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3377, allocations: 0 / 0.5088 GB, free: 12.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000192/0.3379, allocations: 12.03 kB / 0.5088 GB, free: 12.16 MB / 382.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.0001206/0.338, allocations: 103.2 kB / 0.5089 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.8e-05/0.3381, allocations: 4 kB / 0.5089 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3381, allocations: 3.938 kB / 0.5089 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.3381, allocations: 7.938 kB / 0.5089 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.801e-05/0.3382, allocations: 7.938 kB / 0.509 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001475/0.3383, allocations: 71.14 kB / 0.509 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.3384, allocations: 0.6809 MB / 0.5097 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.894e-05/0.3385, allocations: 0 / 0.5097 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.103e-05/0.3385, allocations: 11.44 kB / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3385, allocations: 0 / 0.5097 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Templates: time 0.002144/0.3406, allocations: 284 kB / 0.51 GB, free: 10.93 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: