Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.648/1.648, allocations: 287.4 MB / 303.2 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000956/0.0009561, allocations: 180.9 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007918/0.0007919, allocations: 106 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 16.47 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006721/0.1866, allocations: 323.5 kB / 0.9796 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1877, allocations: 0.9452 MB / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.1878, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.009e-05/0.1878, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.1878, allocations: 0 / 0.9805 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1881, allocations: 43.89 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.605e-05/0.1881, allocations: 4 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1882, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.1882, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.1882, allocations: 4 kB / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.1882, allocations: 0 / 0.9806 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.1884, allocations: 91.83 kB / 0.9807 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.014e-06/0.1884, allocations: 0 / 0.9807 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.1884, allocations: 29.7 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.1885, allocations: 27.95 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1885, allocations: 8 kB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1885, allocations: 0 / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1886, allocations: 0 / 0.9807 GB, free: 26.69 MB / 0.6198 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.0002057/0.1888, allocations: 327.5 kB / 0.981 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1888, allocations: 8.031 kB / 0.981 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1888, allocations: 0.9375 kB / 0.981 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.209e-05/0.1889, allocations: 160.4 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1889, allocations: 384 / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.1889, allocations: 4.359 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.189, allocations: 38.25 kB / 0.9812 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.189, allocations: 192 / 0.9812 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.189, allocations: 3.938 kB / 0.9812 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1891, allocations: 0 / 0.9812 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.1891, allocations: 7.938 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001007/0.1892, allocations: 145.7 kB / 0.9814 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.588e-05/0.1892, allocations: 18.52 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.1892, allocations: 16.95 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.1896, allocations: 0.5622 MB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1897, allocations: 34.56 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.1897, allocations: 0 / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001167/0.1898, allocations: 37.58 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.286e-05/0.1898, allocations: 51.53 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.638e-05/0.1898, allocations: 93.86 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.332e-06/0.1898, allocations: 29.7 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.179e-05/0.1899, allocations: 80.14 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1899, allocations: 3.906 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-06/0.1899, allocations: 0 / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.19, allocations: 314.8 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.19, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.19, allocations: 4 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.283e-05/0.19, allocations: 8.922 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.19, allocations: 0 / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.84e-05/0.1901, allocations: 37.64 kB / 0.9826 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.1901, allocations: 4 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1901, allocations: 0 / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1901, allocations: 3.938 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.505e-05/0.1902, allocations: 4 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1902, allocations: 3.984 kB / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.1902, allocations: 0 / 0.9827 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1902, allocations: 4.031 kB / 0.9827 GB, free: 24.36 MB / 0.6198 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 4.268e-05/0.1903, allocations: 105.8 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.1903, allocations: 4 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.675e-05/0.1904, allocations: 40.77 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1904, allocations: 7.922 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1904, allocations: 0 / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.1904, allocations: 77.39 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1904, allocations: 8.031 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.043e-05/0.1904, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.1905, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.449e-05/0.1905, allocations: 109 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 6.556e-05/0.1906, allocations: 206.7 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.302e-05/0.1906, allocations: 7.938 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.1906, allocations: 79.34 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of Backend: time 2.5e-07/0.1906, allocations: 0 / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.191, allocations: 102.4 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0001794/0.1912, allocations: 0.5234 MB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.002142/0.1933, allocations: 0.5162 MB / 0.9844 GB, free: 22.48 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)