Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001472/0.001472, allocations: 99.47 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.001833/0.001833, allocations: 177.3 kB / 15.95 MB, free: 216 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.83/1.83, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.619/1.619, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.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: Performance of FrontEnd - loaded program: time 0.000629/0.0006293, allocations: 19.98 kB / 0.6241 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.555, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007853/0.5559, allocations: 309.3 kB / 0.7283 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.5575, allocations: 1.239 MB / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.5575, allocations: 0 / 0.7295 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.5575, allocations: 4 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.5575, allocations: 0 / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.5578, allocations: 47.81 kB / 0.7295 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.5579, allocations: 4 kB / 0.7295 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.5579, allocations: 0 / 0.7295 GB, free: 9.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.5579, allocations: 4 kB / 0.7295 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.558, allocations: 3.938 kB / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.558, allocations: 0 / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.5582, allocations: 87.83 kB / 0.7296 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-06/0.5582, allocations: 4 kB / 0.7296 GB, free: 9.711 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.5583, allocations: 25.7 kB / 0.7297 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.084e-05/0.5583, allocations: 35.95 kB / 0.7297 GB, free: 9.645 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5584, allocations: 4 kB / 0.7297 GB, free: 9.641 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5584, allocations: 0 / 0.7297 GB, free: 9.641 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.5584, allocations: 0 / 0.7297 GB, free: 9.641 MB / 0.545 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.0002974/0.5587, allocations: 319.4 kB / 0.73 GB, free: 9.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5587, allocations: 8.031 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.5588, allocations: 11.91 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.5589, allocations: 163 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5589, allocations: 0 / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.5589, allocations: 0 / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.559, allocations: 29.7 kB / 0.7302 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.559, allocations: 4 kB / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.559, allocations: 0 / 0.7302 GB, free: 9.023 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.559, allocations: 3.984 kB / 0.7302 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.5591, allocations: 3.938 kB / 0.7302 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.5592, allocations: 149.6 kB / 0.7304 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/0.5592, allocations: 22.61 kB / 0.7304 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005575/0.5598, allocations: 0.5584 MB / 0.7309 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.5599, allocations: 30.56 kB / 0.731 GB, free: 8.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 3.717e-06/0.5599, allocations: 0 / 0.731 GB, free: 8.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001804/0.5601, allocations: 49.56 kB / 0.731 GB, free: 8.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5601, allocations: 51.41 kB / 0.7311 GB, free: 7.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.803e-05/0.5602, allocations: 89.86 kB / 0.7311 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5602, allocations: 29.83 kB / 0.7312 GB, free: 7.812 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.5603, allocations: 80.14 kB / 0.7312 GB, free: 7.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.5603, allocations: 0 / 0.7312 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.5603, allocations: 0 / 0.7312 GB, free: 7.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.5604, allocations: 314.8 kB / 0.7315 GB, free: 7.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.5605, allocations: 4 kB / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.5605, allocations: 0 / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.461e-05/0.5605, allocations: 0 / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5605, allocations: 0 / 0.7315 GB, free: 7.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.649e-05/0.5605, allocations: 45.75 kB / 0.7316 GB, free: 7.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.5606, allocations: 11.88 kB / 0.7316 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.5606, allocations: 0 / 0.7316 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5606, allocations: 0 / 0.7316 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.5606, allocations: 4 kB / 0.7316 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.5607, allocations: 0 / 0.7316 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.5607, allocations: 0 / 0.7316 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.5607, allocations: 4 kB / 0.7316 GB, free: 7.34 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.471e-05/0.5608, allocations: 109.8 kB / 0.7317 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-06/0.5608, allocations: 11.98 kB / 0.7317 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.5609, allocations: 36.83 kB / 0.7318 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5609, allocations: 0 / 0.7318 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5609, allocations: 0 / 0.7318 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.5609, allocations: 0 / 0.7318 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.561, allocations: 155.6 kB / 0.7319 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.561, allocations: 0 / 0.7319 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.561, allocations: 0 / 0.7319 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.561, allocations: 7.969 kB / 0.7319 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.5611, allocations: 0 / 0.7319 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5611, allocations: 0 / 0.7319 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5611, allocations: 4 kB / 0.7319 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.933e-05/0.5611, allocations: 57.12 kB / 0.732 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.5612, allocations: 81.06 kB / 0.7321 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.5612, allocations: 0 / 0.7321 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.5612, allocations: 7.969 kB / 0.7321 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.5613, allocations: 4 kB / 0.7321 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.5613, allocations: 0 / 0.7321 GB, free: 6.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.643e-05/0.5613, allocations: 75.28 kB / 0.7321 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5613, allocations: 0 / 0.7321 GB, free: 6.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001792/0.5615, allocations: 4 kB / 0.7321 GB, free: 6.695 MB / 0.545 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 (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.000174/0.5617, allocations: 111.2 kB / 0.7322 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.934e-05/0.5617, allocations: 7.938 kB / 0.7323 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5617, allocations: 4.062 kB / 0.7323 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.5617, allocations: 4 kB / 0.7323 GB, free: 6.559 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.898e-05/0.5618, allocations: 13.19 kB / 0.7323 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.562, allocations: 70.77 kB / 0.7323 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.5623, allocations: 0.677 MB / 0.733 GB, free: 5.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2e-05/0.5623, allocations: 3.984 kB / 0.733 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.5623, allocations: 11.5 kB / 0.733 GB, free: 5.738 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.5623, allocations: 0 / 0.733 GB, free: 5.738 MB / 0.545 GB Notification: Performance of Templates: time 0.002117/0.5644, allocations: 288.1 kB / 0.7333 GB, free: 5.457 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: