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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.889/1.889, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001053/0.001053, allocations: 182.1 kB / 371.6 MB, free: 3.355 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.947/1.947, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001091/0.001091, allocations: 98.98 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.712e-05/6.732e-05, allocations: 8 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9059/1.221, allocations: 139.2 MB / 1.116 GB, free: 44.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.221, allocations: 81.55 kB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.00428/1.225, allocations: 1.638 MB / 1.118 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.412e-06/1.225, allocations: 0.5625 kB / 1.118 GB, free: 43.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.225, allocations: 1.031 kB / 1.118 GB, free: 43.46 MB / 0.7448 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.0001923/1.225, allocations: 338.3 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.225, allocations: 8.562 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/1.226, allocations: 34.84 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/1.226, allocations: 5.719 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.498e-05/1.226, allocations: 159.6 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/1.226, allocations: 3.766 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/1.226, allocations: 4.109 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/1.226, allocations: 29.27 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.226, allocations: 1.547 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/1.226, allocations: 4 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.226, allocations: 0.6562 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.041e-05/1.226, allocations: 3.375 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/1.226, allocations: 154.9 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.439e-05/1.226, allocations: 21.95 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.539e-05/1.226, allocations: 5.375 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/1.226, allocations: 0.5597 MB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/1.226, allocations: 31.12 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/1.226, allocations: 4 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/1.226, allocations: 36.23 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/1.227, allocations: 54.84 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.82e-05/1.227, allocations: 88.47 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/1.227, allocations: 25.7 kB / 1.119 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.22e-05/1.227, allocations: 81.08 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.227, allocations: 3.25 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/1.227, allocations: 0 / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/1.227, allocations: 314.9 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-06/1.227, allocations: 4 kB / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/1.227, allocations: 0 / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.792e-05/1.227, allocations: 0 / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.227, allocations: 0 / 1.119 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.066e-05/1.227, allocations: 40.66 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.227, allocations: 7.422 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.227, allocations: 2.453 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/1.227, allocations: 2.953 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/1.227, allocations: 12.03 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.227, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/1.227, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/1.227, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 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 4.319e-05/1.227, allocations: 102.6 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/1.227, allocations: 7.953 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.589e-05/1.227, allocations: 44.59 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/1.227, allocations: 4.031 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.227, allocations: 1.25 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.227, allocations: 0 / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.133e-05/1.227, allocations: 149.1 kB / 1.12 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.227, allocations: 0 / 1.12 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/1.227, allocations: 0 / 1.12 GB, free: 40.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.227, allocations: 4.453 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/1.227, allocations: 0.75 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.227, allocations: 4 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.227, allocations: 4.812 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.037e-05/1.227, allocations: 59.84 kB / 1.12 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/1.227, allocations: 79.45 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/1.227, allocations: 7.953 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/1.227, allocations: 0 / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/1.227, allocations: 0 / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/1.227, allocations: 1.312 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.85e-05/1.227, allocations: 75.28 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.227, allocations: 0 / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001906/1.228, allocations: 16.03 kB / 1.12 GB, free: 40.55 MB / 0.7448 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.000257/1.228, allocations: 0.6057 MB / 1.121 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.608e-05/1.228, allocations: 4 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.228, allocations: 1.406 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.712e-06/1.228, allocations: 8.094 kB / 1.121 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.705e-05/1.228, allocations: 3.953 kB / 1.121 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/1.228, allocations: 81.28 kB / 1.121 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/1.228, allocations: 0.6731 MB / 1.121 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.011e-05/1.228, allocations: 3.938 kB / 1.121 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/1.228, allocations: 7.438 kB / 1.121 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/1.228, allocations: 4.062 kB / 1.121 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09037/1.319, allocations: 0.8222 MB / 1.122 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/1.319, allocations: 166.3 kB / 1.122 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.817, allocations: 0.5625 kB / 1.122 GB, free: 38.45 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)