Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001449/0.001449, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001923/0.001924, allocations: 190.8 kB / 16.14 MB, free: 6.738 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.451/1.451, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.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: 65.81 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2135, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001845/0.2154, allocations: 0.6529 MB / 0.7833 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.2171, allocations: 1.285 MB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.333e-05/0.2171, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.2171, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.784e-06/0.2172, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2175, allocations: 51.83 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.599e-05/0.2175, allocations: 0 / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.2176, allocations: 4 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.513e-05/0.2176, allocations: 4 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.2176, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.2177, allocations: 0 / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.2179, allocations: 95.89 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2179, allocations: 0 / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.2179, allocations: 4 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.2181, allocations: 51.88 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2181, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2181, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2181, allocations: 0 / 0.7848 GB, free: 11.82 MB / 0.6075 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.0003616/0.2185, allocations: 323.6 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2185, allocations: 15.97 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.2186, allocations: 4.938 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2187, allocations: 164.4 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2187, allocations: 384 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2187, allocations: 384 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2189, allocations: 41.94 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2189, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2189, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2189, allocations: 4 kB / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.2189, allocations: 0 / 0.7853 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.2191, allocations: 145.7 kB / 0.7854 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.782e-05/0.2191, allocations: 18.58 kB / 0.7855 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.2192, allocations: 8.797 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.2198, allocations: 0.5623 MB / 0.786 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2199, allocations: 38.5 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.2199, allocations: 0 / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.22, allocations: 33.7 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.2201, allocations: 51.41 kB / 0.7861 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.483e-05/0.2202, allocations: 93.84 kB / 0.7862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.2202, allocations: 25.7 kB / 0.7862 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.2202, allocations: 80.27 kB / 0.7863 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.2203, allocations: 11.91 kB / 0.7863 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2203, allocations: 9.719 kB / 0.7863 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2204, allocations: 314.8 kB / 0.7866 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2204, allocations: 0 / 0.7866 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.2205, allocations: 7.938 kB / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.2205, allocations: 4.859 kB / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2205, allocations: 4 kB / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.355e-05/0.2206, allocations: 37.75 kB / 0.7867 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2206, allocations: 11.88 kB / 0.7867 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2206, allocations: 0 / 0.7867 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2206, allocations: 0 / 0.7867 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.2206, allocations: 4 kB / 0.7867 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2207, allocations: 0 / 0.7867 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.2207, allocations: 0 / 0.7867 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2207, allocations: 0 / 0.7867 GB, free: 9.48 MB / 0.6075 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 8.387e-05/0.2208, allocations: 118.7 kB / 0.7868 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.2208, allocations: 7.969 kB / 0.7868 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.963e-05/0.2209, allocations: 36.81 kB / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2209, allocations: 0 / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2209, allocations: 0 / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2209, allocations: 0 / 0.7869 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.632e-05/0.221, allocations: 153.9 kB / 0.787 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.221, allocations: 0 / 0.787 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/0.221, allocations: 3.984 kB / 0.787 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.221, allocations: 3.938 kB / 0.787 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2211, allocations: 8.031 kB / 0.787 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2211, allocations: 0 / 0.787 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2211, allocations: 0 / 0.787 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.69e-05/0.2211, allocations: 61.06 kB / 0.7871 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.889e-05/0.2212, allocations: 81.09 kB / 0.7872 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2212, allocations: 7.938 kB / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.2213, allocations: 0 / 0.7872 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.2213, allocations: 4.031 kB / 0.7872 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.2213, allocations: 0 / 0.7872 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.2213, allocations: 75.28 kB / 0.7873 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2213, allocations: 0 / 0.7873 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001976/0.2215, allocations: 16 kB / 0.7873 GB, free: 8.809 MB / 0.6075 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.0001548/0.2217, allocations: 103.2 kB / 0.7874 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.953e-05/0.2218, allocations: 7.984 kB / 0.7874 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2218, allocations: 64 / 0.7874 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.2218, allocations: 11.94 kB / 0.7874 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.2219, allocations: 0 / 0.7874 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001507/0.2221, allocations: 82.7 kB / 0.7875 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2223, allocations: 0.6692 MB / 0.7881 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.2223, allocations: 0 / 0.7881 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.2223, allocations: 11.42 kB / 0.7881 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2224, allocations: 4.062 kB / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.00196/0.2243, allocations: 288.7 kB / 0.7884 GB, free: 7.578 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)