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.782/1.782, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.00123/0.00123, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.049/2.049, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.000906/0.0009062, allocations: 90.25 kB / 0.7439 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004289, allocations: 17.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6876/0.9718, allocations: 138.3 MB / 1.115 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.9721, allocations: 87.25 kB / 1.115 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004797/0.9769, allocations: 1.65 MB / 1.116 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9769, allocations: 0 / 1.116 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.977, allocations: 0 / 1.116 GB, free: 32.18 MB / 0.698 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.0002501/0.9772, allocations: 339.2 kB / 1.117 GB, free: 31.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.9773, allocations: 15.58 kB / 1.117 GB, free: 31.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.9773, allocations: 30.56 kB / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.9773, allocations: 0 / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.9774, allocations: 168.4 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9774, allocations: 4.875 kB / 1.117 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.9774, allocations: 3.938 kB / 1.117 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.9775, allocations: 31.17 kB / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.9775, allocations: 0 / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.9776, allocations: 0 / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.9776, allocations: 0 / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.751e-05/0.9776, allocations: 0 / 1.117 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001108/0.9777, allocations: 155.5 kB / 1.117 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.515e-05/0.9777, allocations: 25.22 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/0.9782, allocations: 0.5639 MB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.9782, allocations: 30.56 kB / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.9782, allocations: 0 / 1.118 GB, free: 30.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.9783, allocations: 29.58 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.9784, allocations: 55.53 kB / 1.118 GB, free: 30.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.036e-05/0.9784, allocations: 88.25 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.9784, allocations: 29.55 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.9785, allocations: 83.97 kB / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.9785, allocations: 0.7812 kB / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.9785, allocations: 0 / 1.118 GB, free: 30.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9786, allocations: 313.6 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-06/0.9786, allocations: 3.938 kB / 1.118 GB, free: 30 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.9787, allocations: 7.75 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.532e-05/0.9787, allocations: 4.062 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9787, allocations: 0 / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.933e-05/0.9787, allocations: 43.84 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.9788, allocations: 7.125 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.9788, allocations: 0 / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.9788, allocations: 0 / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.9788, allocations: 3.844 kB / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.9788, allocations: 0 / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.157e-05/0.9789, allocations: 0 / 1.118 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.9789, allocations: 4.031 kB / 1.118 GB, free: 29.95 MB / 0.698 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 7.595e-05/0.9789, allocations: 105.8 kB / 1.118 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.979, allocations: 7.859 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.9791, allocations: 50.27 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9791, allocations: 3.984 kB / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9791, allocations: 0 / 1.118 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.9791, allocations: 3.938 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.529e-05/0.9792, allocations: 151.8 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9792, allocations: 0 / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.9792, allocations: 0 / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9792, allocations: 0 / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.9792, allocations: 3.953 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9792, allocations: 2.812 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9792, allocations: 3.906 kB / 1.119 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.72e-05/0.9793, allocations: 55.64 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.9793, allocations: 86.98 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.9793, allocations: 3.844 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-06/0.9794, allocations: 3.953 kB / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.9794, allocations: 0 / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.9794, allocations: 0 / 1.119 GB, free: 29.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.9794, allocations: 75.28 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9794, allocations: 0 / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001947/0.9796, allocations: 7.688 kB / 1.119 GB, free: 29.34 MB / 0.698 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.0003625/0.98, allocations: 0.6 MB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.239e-05/0.9801, allocations: 11.16 kB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9801, allocations: 0 / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.9801, allocations: 3.875 kB / 1.119 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.332e-05/0.9802, allocations: 3.953 kB / 1.119 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.9805, allocations: 111.2 kB / 1.119 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.9807, allocations: 0.6794 MB / 1.12 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.9807, allocations: 3.938 kB / 1.12 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/0.9808, allocations: 7.438 kB / 1.12 GB, free: 27.89 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.9808, allocations: 0 / 1.12 GB, free: 27.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.9933, allocations: 0.823 MB / 1.121 GB, free: 27.79 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.9936, allocations: 202.4 kB / 1.121 GB, free: 27.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.476, allocations: 0 / 1.121 GB, free: 27.54 MB / 0.698 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)