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.005227/0.005227, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001355/0.001355, allocations: 199.1 kB / 16.67 MB, free: 5.52 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.215/1.215, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.281/1.281, allocations: 251.7 MB / 0.5094 GB, free: 436 kB / 430.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.00129/0.00129, allocations: 68.47 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4836, allocations: 104.7 MB / 0.8281 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001559/0.4852, allocations: 0.5876 MB / 0.8286 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.4865, allocations: 1.284 MB / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.575e-05/0.4866, allocations: 0 / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.4866, allocations: 0 / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-06/0.4866, allocations: 0 / 0.8299 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.4869, allocations: 63.75 kB / 0.83 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 4.27e-05/0.487, allocations: 3.984 kB / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.487, allocations: 0 / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 1.65e-05/0.487, allocations: 7.938 kB / 0.83 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.859e-05/0.4871, allocations: 4 kB / 0.83 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.4871, allocations: 4 kB / 0.83 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.4873, allocations: 99.83 kB / 0.8301 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.4873, allocations: 0 / 0.8301 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.4873, allocations: 4 kB / 0.8301 GB, free: 492 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.4875, allocations: 43.94 kB / 0.8301 GB, free: 448 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4875, allocations: 0 / 0.8301 GB, free: 448 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4875, allocations: 0 / 0.8301 GB, free: 448 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.4875, allocations: 0 / 0.8301 GB, free: 448 kB / 0.6231 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.0002643/0.4877, allocations: 327.6 kB / 0.8304 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.4878, allocations: 12.03 kB / 0.8304 GB, free: 60 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.4878, allocations: 0.9375 kB / 0.8304 GB, free: 60 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.4879, allocations: 168.3 kB / 0.8306 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4879, allocations: 4.375 kB / 0.8306 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.4879, allocations: 384 / 0.8306 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.161e-05/0.488, allocations: 38.02 kB / 0.8307 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.488, allocations: 0 / 0.8307 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.488, allocations: 0 / 0.8307 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4881, allocations: 0 / 0.8307 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.4881, allocations: 7.938 kB / 0.8307 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.4882, allocations: 145.7 kB / 0.8308 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.434e-05/0.4882, allocations: 26.53 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.4883, allocations: 4.859 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.4887, allocations: 0.5584 MB / 0.8314 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4887, allocations: 38.5 kB / 0.8314 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4887, allocations: 0 / 0.8314 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001237/0.4889, allocations: 41.69 kB / 0.8314 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.4889, allocations: 51.41 kB / 0.8315 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.003e-05/0.4889, allocations: 89.86 kB / 0.8316 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4889, allocations: 25.7 kB / 0.8316 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.857e-05/0.489, allocations: 84.08 kB / 0.8317 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.489, allocations: 0 / 0.8317 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.489, allocations: 17.84 kB / 0.8317 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.4891, allocations: 310.8 kB / 0.832 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-06/0.4891, allocations: 0 / 0.832 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.4891, allocations: 0 / 0.832 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.259e-05/0.4892, allocations: 12.86 kB / 0.832 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4892, allocations: 0 / 0.832 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.427e-05/0.4892, allocations: 37.69 kB / 0.832 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4892, allocations: 7.938 kB / 0.8321 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.4892, allocations: 4.094 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.4892, allocations: 0 / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.4893, allocations: 7.938 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4893, allocations: 0 / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.4893, allocations: 3.938 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.4893, allocations: 0 / 0.8321 GB, free: 14.09 MB / 0.6387 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 5.149e-05/0.4894, allocations: 106.9 kB / 0.8322 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.4894, allocations: 3.938 kB / 0.8322 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.4895, allocations: 56.28 kB / 0.8322 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4895, allocations: 0 / 0.8322 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4895, allocations: 0 / 0.8322 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4895, allocations: 0 / 0.8322 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.508e-05/0.4896, allocations: 149.7 kB / 0.8324 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4896, allocations: 4 kB / 0.8324 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/0.4896, allocations: 0 / 0.8324 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4896, allocations: 7.875 kB / 0.8324 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.4896, allocations: 0 / 0.8324 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4896, allocations: 3.984 kB / 0.8324 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4896, allocations: 7.969 kB / 0.8324 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.866e-05/0.4897, allocations: 61.12 kB / 0.8325 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.4897, allocations: 77.11 kB / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.4898, allocations: 3.938 kB / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.4898, allocations: 0 / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.4898, allocations: 4 kB / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.4898, allocations: 0 / 0.8325 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.52e-05/0.4898, allocations: 79.31 kB / 0.8326 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4898, allocations: 0 / 0.8326 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000184/0.49, allocations: 4 kB / 0.8326 GB, free: 13.43 MB / 0.6387 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.0001732/0.4902, allocations: 107.2 kB / 0.8327 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.116e-05/0.4903, allocations: 11.94 kB / 0.8327 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4903, allocations: 0 / 0.8327 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.724e-06/0.4903, allocations: 4 kB / 0.8327 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.4905, allocations: 4.125 kB / 0.8327 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.4907, allocations: 82.61 kB / 0.8328 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.4909, allocations: 0.6844 MB / 0.8335 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.729e-05/0.4909, allocations: 0 / 0.8335 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.4909, allocations: 7.438 kB / 0.8335 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.4909, allocations: 0 / 0.8335 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of Templates: time 0.002365/0.4933, allocations: 300.5 kB / 0.8338 GB, free: 12.18 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (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)