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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001147/0.001147, allocations: 194.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.785 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.5973/0.5973, allocations: 95.48 MB / 364.8 MB, free: 10.08 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.001469/0.001469, allocations: 71.89 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3512, allocations: 69.08 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001754/0.353, allocations: 0.6016 MB / 0.5023 GB, free: 17.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.354, allocations: 0.9751 MB / 0.5032 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-06/0.354, allocations: 0 / 0.5032 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.354, allocations: 0 / 0.5032 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.3541, allocations: 0 / 0.5032 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.3543, allocations: 43.89 kB / 0.5033 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.189e-05/0.3544, allocations: 4 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.3544, allocations: 4 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.3544, allocations: 4 kB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.3545, allocations: 0 / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.3545, allocations: 0 / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3546, allocations: 95.83 kB / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-06/0.3547, allocations: 0 / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.3547, allocations: 3.984 kB / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.3548, allocations: 47.95 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3548, allocations: 0 / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3548, allocations: 3.938 kB / 0.5034 GB, free: 15.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3548, allocations: 0 / 0.5034 GB, free: 15.82 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.000246/0.3551, allocations: 323.6 kB / 0.5038 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.3551, allocations: 15.98 kB / 0.5038 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.3551, allocations: 0.9375 kB / 0.5038 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.892e-05/0.3552, allocations: 160.4 kB / 0.5039 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3552, allocations: 4.375 kB / 0.5039 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.3552, allocations: 3.938 kB / 0.5039 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.3553, allocations: 33.7 kB / 0.504 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.3553, allocations: 0 / 0.504 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3553, allocations: 0 / 0.504 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3553, allocations: 3.938 kB / 0.504 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.583e-05/0.3553, allocations: 7.984 kB / 0.504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.894e-05/0.3554, allocations: 145.7 kB / 0.5041 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.252e-05/0.3555, allocations: 22.45 kB / 0.5041 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.3555, allocations: 8.859 kB / 0.5041 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.3559, allocations: 0.5623 MB / 0.5047 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.3559, allocations: 42.56 kB / 0.5047 GB, free: 14.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.3559, allocations: 0 / 0.5047 GB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.356, allocations: 45.48 kB / 0.5048 GB, free: 14.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.3561, allocations: 51.41 kB / 0.5048 GB, free: 14.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.923e-05/0.3561, allocations: 89.86 kB / 0.5049 GB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.3561, allocations: 25.7 kB / 0.5049 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-06/0.3561, allocations: 80.14 kB / 0.505 GB, free: 13.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3562, allocations: 4.125 kB / 0.505 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.3562, allocations: 13.72 kB / 0.505 GB, free: 13.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.3562, allocations: 314.8 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.3562, allocations: 0 / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.3563, allocations: 4 kB / 0.5053 GB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.3563, allocations: 8.859 kB / 0.5053 GB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3563, allocations: 4 kB / 0.5053 GB, free: 13.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.089e-05/0.3563, allocations: 41.64 kB / 0.5054 GB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3564, allocations: 4 kB / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3564, allocations: 0 / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3564, allocations: 0 / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.3564, allocations: 4 kB / 0.5054 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3564, allocations: 3.984 kB / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.3565, allocations: 0 / 0.5054 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3565, allocations: 0 / 0.5054 GB, free: 13.46 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3565, allocations: 109.8 kB / 0.5055 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.3565, allocations: 3.938 kB / 0.5055 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-05/0.3566, allocations: 44.81 kB / 0.5055 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3566, allocations: 3.984 kB / 0.5055 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3567, allocations: 0 / 0.5055 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3567, allocations: 0 / 0.5055 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.198e-05/0.3567, allocations: 149.6 kB / 0.5057 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3567, allocations: 0 / 0.5057 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.3568, allocations: 3.938 kB / 0.5057 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.3568, allocations: 0 / 0.5057 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3568, allocations: 8.031 kB / 0.5057 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3568, allocations: 0 / 0.5057 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3568, allocations: 0 / 0.5057 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.481e-05/0.3568, allocations: 61.06 kB / 0.5058 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.3569, allocations: 83.02 kB / 0.5058 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3569, allocations: 8 kB / 0.5058 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-06/0.3569, allocations: 3.938 kB / 0.5059 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3569, allocations: 4.031 kB / 0.5059 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3569, allocations: 0 / 0.5059 GB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.177e-05/0.357, allocations: 79.27 kB / 0.5059 GB, free: 12.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.357, allocations: 0 / 0.5059 GB, free: 12.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.3572, allocations: 8 kB / 0.5059 GB, free: 12.8 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 (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.0001555/0.3573, allocations: 107.2 kB / 0.506 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.886e-05/0.3574, allocations: 11.94 kB / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3574, allocations: 0 / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.3574, allocations: 4.062 kB / 0.5061 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.3576, allocations: 11.88 kB / 0.5061 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002063/0.3578, allocations: 78.66 kB / 0.5061 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.358, allocations: 0.6692 MB / 0.5068 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.2e-05/0.358, allocations: 4 kB / 0.5068 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.498e-05/0.3581, allocations: 7.438 kB / 0.5068 GB, free: 11.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3581, allocations: 4.062 kB / 0.5068 GB, free: 11.85 MB / 382.1 MB Notification: Performance of Templates: time 0.002617/0.3607, allocations: 288.6 kB / 0.5071 GB, free: 11.57 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)