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.668/1.668, allocations: 285.4 MB / 298 MB, free: 5.973 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.001077/0.001077, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.755/1.755, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008198/0.0008197, allocations: 102 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.662e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7584/0.7585, allocations: 115.3 MB / 0.971 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.9619, allocations: 138.2 MB / 1.106 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.9622, allocations: 79.62 kB / 1.106 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00473/0.967, allocations: 1.65 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/0.967, allocations: 2.953 kB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.967, allocations: 0 / 1.108 GB, free: 11.83 MB / 0.7136 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.0002538/0.9673, allocations: 330.5 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.9673, allocations: 8.812 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.9674, allocations: 38.56 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.9674, allocations: 5.109 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.9675, allocations: 163 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.9675, allocations: 0 / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.9675, allocations: 0.5312 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.232e-05/0.9676, allocations: 37.05 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.9676, allocations: 2.375 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.9677, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.9677, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.9677, allocations: 0 / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.9678, allocations: 157.6 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.826e-05/0.9679, allocations: 16.36 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.9679, allocations: 4.859 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.9684, allocations: 0.5554 MB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.9684, allocations: 45.09 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.9684, allocations: 0.8125 kB / 1.109 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.9686, allocations: 33.69 kB / 1.109 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.9686, allocations: 52.06 kB / 1.109 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.747e-05/0.9687, allocations: 86.19 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.9687, allocations: 28.8 kB / 1.109 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.9687, allocations: 80.14 kB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.9688, allocations: 8.469 kB / 1.109 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.9688, allocations: 0.75 kB / 1.109 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.9689, allocations: 317.2 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.9689, allocations: 0 / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.9689, allocations: 0 / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.921e-05/0.9689, allocations: 4 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9689, allocations: 0 / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.333e-05/0.969, allocations: 44.06 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.969, allocations: 7.984 kB / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.969, allocations: 0 / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.969, allocations: 0 / 1.11 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.458e-05/0.9691, allocations: 4 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.9691, allocations: 0 / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.205e-05/0.9691, allocations: 0.7188 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.9691, allocations: 0 / 1.11 GB, free: 9.508 MB / 0.7136 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 () * 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 6.523e-05/0.9692, allocations: 106.8 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.9692, allocations: 7.891 kB / 1.11 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.9693, allocations: 44.69 kB / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9693, allocations: 0 / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.9694, allocations: 0 / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9694, allocations: 0 / 1.11 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.9695, allocations: 149.7 kB / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9695, allocations: 0 / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.9695, allocations: 0 / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.9695, allocations: 9.422 kB / 1.11 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9695, allocations: 7.984 kB / 1.11 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.9696, allocations: 0 / 1.11 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9696, allocations: 0 / 1.11 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.9696, allocations: 53.14 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.9697, allocations: 81.11 kB / 1.11 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.9697, allocations: 8.141 kB / 1.11 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.086e-05/0.9697, allocations: 5.203 kB / 1.11 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.9697, allocations: 3.984 kB / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.9697, allocations: 0 / 1.11 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.9698, allocations: 79.22 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.462e-06/0.9698, allocations: 0 / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001882/0.97, allocations: 11.94 kB / 1.11 GB, free: 8.863 MB / 0.7136 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 () * 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.0004284/0.9704, allocations: 0.6008 MB / 1.111 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.7e-05/0.9705, allocations: 4 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9705, allocations: 0 / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.9705, allocations: 7.938 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.439e-05/0.9706, allocations: 3.953 kB / 1.111 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.9708, allocations: 85.2 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.9711, allocations: 0.6752 MB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.029e-05/0.9711, allocations: 0 / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.586e-05/0.9711, allocations: 11.44 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9711, allocations: 0 / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01092/0.982, allocations: 0.8281 MB / 1.112 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.9823, allocations: 171.6 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/2.401, allocations: 0 / 1.113 GB, free: 6.523 MB / 0.7136 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)