Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.001136/0.001136, allocations: 186 kB / 372 MB, free: 10.29 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.452/1.452, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0006761/0.0006763, allocations: 86.3 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 14.22 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2071, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006586/0.2079, allocations: 319.8 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2092, allocations: 1.231 MB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.2092, allocations: 0 / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.049e-05/0.2092, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.2093, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2095, allocations: 43.89 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.2096, allocations: 4 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.2096, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.424e-05/0.2096, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.2097, allocations: 4 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.2097, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2099, allocations: 99.83 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.2099, allocations: 0 / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.967e-05/0.2099, allocations: 25.7 kB / 0.9813 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.21, allocations: 35.95 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.21, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.21, allocations: 0 / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.21, allocations: 0 / 0.9814 GB, free: 25.79 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.0002264/0.2103, allocations: 319.4 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2103, allocations: 20.02 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.455e-05/0.2104, allocations: 30.56 kB / 0.9817 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.2104, allocations: 4 kB / 0.9817 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.239e-05/0.2105, allocations: 163 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2105, allocations: 4 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.2105, allocations: 0 / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.2106, allocations: 33.69 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2106, allocations: 3.938 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.2106, allocations: 0 / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2106, allocations: 7.984 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.2107, allocations: 0 / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.512e-05/0.2108, allocations: 149.6 kB / 0.9821 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.32e-05/0.2108, allocations: 18.58 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.2108, allocations: 12.95 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.2112, allocations: 0.5583 MB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.2113, allocations: 34.56 kB / 0.9827 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2113, allocations: 3.938 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.2114, allocations: 37.64 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.2114, allocations: 51.41 kB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.2115, allocations: 89.86 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.2115, allocations: 25.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.2115, allocations: 88.12 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.2115, allocations: 8.031 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.2115, allocations: 0 / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.2116, allocations: 314.8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.2116, allocations: 0 / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.2116, allocations: 4 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.679e-05/0.2116, allocations: 3.938 kB / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2116, allocations: 0 / 0.9833 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.515e-05/0.2117, allocations: 37.64 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2117, allocations: 8.094 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2117, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2117, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.2118, allocations: 3.984 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2118, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.2118, allocations: 4 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2118, allocations: 0 / 0.9833 GB, free: 23.43 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.899e-05/0.2119, allocations: 110.1 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.2119, allocations: 0 / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.212, allocations: 56.73 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.212, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.212, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.212, allocations: 0 / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.591e-05/0.2121, allocations: 149.6 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2121, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/0.2121, allocations: 4 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2121, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2121, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2121, allocations: 8.016 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2121, allocations: 0 / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.079e-05/0.2122, allocations: 57.14 kB / 0.9837 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.2122, allocations: 81.06 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.2122, allocations: 3.938 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.2122, allocations: 0 / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.2123, allocations: 3.984 kB / 0.9838 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.2123, allocations: 11.97 kB / 0.9838 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.2123, allocations: 79.28 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2123, allocations: 0 / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001969/0.2125, allocations: 4 kB / 0.9839 GB, free: 22.77 MB / 0.6198 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.0002654/0.2128, allocations: 0.6007 MB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.2128, allocations: 8.031 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2129, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.2129, allocations: 7.938 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.213, allocations: 1.031 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.2133, allocations: 108.4 kB / 0.9846 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2134, allocations: 0.6692 MB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.2135, allocations: 8.062 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.2135, allocations: 11.44 kB / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2135, allocations: 0 / 0.9853 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.224, allocations: 0.8517 MB / 0.9861 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.2241, allocations: 200.2 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/1.652, allocations: 4.062 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)