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.0008681/0.0008683, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.007286/0.007286, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.696/1.696, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.6923/0.6923, allocations: 95.63 MB / 366.4 MB, free: 10.22 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.0005679/0.000568, allocations: 20 kB / 447.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3835, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007443/0.3844, allocations: 281 kB / 0.5059 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3854, allocations: 0.9597 MB / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.048e-05/0.3855, allocations: 0 / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.3855, allocations: 0 / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.381e-06/0.3855, allocations: 0 / 0.5069 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3858, allocations: 47.83 kB / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.3859, allocations: 4 kB / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.3859, allocations: 0 / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.3859, allocations: 4 kB / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.386, allocations: 3.984 kB / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.386, allocations: 0 / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.3862, allocations: 91.89 kB / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.3862, allocations: 0 / 0.507 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.3862, allocations: 25.7 kB / 0.507 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3864, allocations: 55.88 kB / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3864, allocations: 0 / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3864, allocations: 0 / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3864, allocations: 0 / 0.5071 GB, free: 14.85 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.0002791/0.3867, allocations: 327.6 kB / 0.5074 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3867, allocations: 11.98 kB / 0.5074 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3868, allocations: 0.9375 kB / 0.5074 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.994e-05/0.3868, allocations: 164.4 kB / 0.5076 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3869, allocations: 4.375 kB / 0.5076 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.3869, allocations: 3.938 kB / 0.5076 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.387, allocations: 29.64 kB / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.387, allocations: 0 / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.387, allocations: 0 / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.387, allocations: 4 kB / 0.5076 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.387, allocations: 11.92 kB / 0.5076 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.3871, allocations: 145.7 kB / 0.5078 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.327e-05/0.3872, allocations: 22.55 kB / 0.5078 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.753e-05/0.3872, allocations: 4.859 kB / 0.5078 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/0.3877, allocations: 0.5661 MB / 0.5084 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.3877, allocations: 34.56 kB / 0.5084 GB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3877, allocations: 0 / 0.5084 GB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001338/0.3878, allocations: 37.61 kB / 0.5084 GB, free: 13.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.3879, allocations: 51.41 kB / 0.5085 GB, free: 13.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.687e-05/0.3879, allocations: 89.86 kB / 0.5086 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.3879, allocations: 25.7 kB / 0.5086 GB, free: 13.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.044e-05/0.3879, allocations: 80.14 kB / 0.5087 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3879, allocations: 4.125 kB / 0.5087 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.388, allocations: 9.719 kB / 0.5087 GB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.388, allocations: 326.8 kB / 0.509 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.388, allocations: 0 / 0.509 GB, free: 12.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.388, allocations: 7.875 kB / 0.509 GB, free: 12.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.3881, allocations: 8.859 kB / 0.509 GB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3881, allocations: 0 / 0.509 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.986e-05/0.3881, allocations: 33.73 kB / 0.509 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3881, allocations: 12 kB / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3882, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3882, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/0.3882, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3882, allocations: 0 / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.215e-05/0.3882, allocations: 3.984 kB / 0.509 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3883, allocations: 4 kB / 0.509 GB, free: 12.5 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 4.848e-05/0.3883, allocations: 109.8 kB / 0.5092 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-06/0.3883, allocations: 7.875 kB / 0.5092 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.3884, allocations: 40.78 kB / 0.5092 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3884, allocations: 4 kB / 0.5092 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3884, allocations: 3.984 kB / 0.5092 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3884, allocations: 3.984 kB / 0.5092 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.466e-05/0.3885, allocations: 145.6 kB / 0.5093 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3885, allocations: 0 / 0.5093 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.3885, allocations: 4 kB / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3885, allocations: 0 / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.3885, allocations: 4.031 kB / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3885, allocations: 0 / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3885, allocations: 0 / 0.5094 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.845e-05/0.3886, allocations: 69 kB / 0.5094 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.3886, allocations: 79.08 kB / 0.5095 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.3886, allocations: 3.938 kB / 0.5095 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-06/0.3886, allocations: 0 / 0.5095 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.3887, allocations: 4.031 kB / 0.5095 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3887, allocations: 8 kB / 0.5095 GB, free: 11.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.589e-05/0.3887, allocations: 75.28 kB / 0.5096 GB, free: 11.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3887, allocations: 0 / 0.5096 GB, free: 11.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001766/0.3889, allocations: 11.98 kB / 0.5096 GB, free: 11.84 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.0001276/0.389, allocations: 103.2 kB / 0.5097 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.431e-05/0.3891, allocations: 4 kB / 0.5097 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3891, allocations: 3.938 kB / 0.5097 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.3891, allocations: 12 kB / 0.5097 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.3892, allocations: 6.609 kB / 0.5097 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001404/0.3894, allocations: 82.66 kB / 0.5098 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3895, allocations: 0.6731 MB / 0.5105 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.3895, allocations: 3.984 kB / 0.5105 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.3896, allocations: 7.438 kB / 0.5105 GB, free: 10.89 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3896, allocations: 4.062 kB / 0.5105 GB, free: 10.89 MB / 382.1 MB Notification: Performance of Templates: time 0.002311/0.3919, allocations: 280.7 kB / 0.5107 GB, free: 10.61 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: