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.794/1.794, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001108/0.001109, allocations: 180.9 kB / 361.4 MB, free: 6.859 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.691/1.691, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.000819/0.0008189, allocations: 91.94 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.3e-05, allocations: 8 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7341, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/0.9435, allocations: 137.6 MB / 1.099 GB, free: 2.148 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.9438, allocations: 78.77 kB / 1.099 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004868/0.9487, allocations: 1.649 MB / 1.101 GB, free: 480 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9488, allocations: 0 / 1.101 GB, free: 480 kB / 0.698 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.9488, allocations: 0.5625 kB / 1.101 GB, free: 480 kB / 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.0002772/0.9491, allocations: 334.9 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9491, allocations: 8.625 kB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.9492, allocations: 2.5 kB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.9493, allocations: 167 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.9493, allocations: 4 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-06/0.9493, allocations: 0 / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.724e-05/0.9494, allocations: 0.8125 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.853e-05/0.9494, allocations: 25.7 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9495, allocations: 4.594 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.9495, allocations: 0.8438 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.9495, allocations: 0 / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.9496, allocations: 126.8 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.534e-05/0.9497, allocations: 26.22 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.9497, allocations: 9.453 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004516/0.9502, allocations: 0.5634 MB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.9502, allocations: 32.31 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.9502, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001604/0.9504, allocations: 32.89 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.9504, allocations: 52 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.454e-05/0.9505, allocations: 85.62 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.9505, allocations: 25.7 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.9505, allocations: 85.55 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.9506, allocations: 7.844 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-06/0.9506, allocations: 0 / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9507, allocations: 315.6 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/0.9507, allocations: 0.5938 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.9507, allocations: 5.75 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.9508, allocations: 8.562 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.9508, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.054e-05/0.9508, allocations: 34.27 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9509, allocations: 8.484 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.9509, allocations: 4.547 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.9509, allocations: 0.5938 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.68e-05/0.951, allocations: 4 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.951, allocations: 0.6875 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.119e-05/0.951, allocations: 3.5 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.951, allocations: 0.7188 kB / 1.102 GB, free: 14.22 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.476e-05/0.9511, allocations: 101.6 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.65e-05/0.9511, allocations: 38.14 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.9512, allocations: 11.91 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.9513, allocations: 38.27 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.9513, allocations: 5.438 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.9513, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9513, allocations: 0 / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.9514, allocations: 130.2 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.9514, allocations: 1.562 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.9514, allocations: 4 kB / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.9514, allocations: 0 / 1.103 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.9514, allocations: 3.953 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.9514, allocations: 4.188 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9514, allocations: 0 / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.84e-05/0.9515, allocations: 61.06 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.9516, allocations: 77.11 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.9516, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.9516, allocations: 3.953 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.9516, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.9516, allocations: 4 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.9517, allocations: 79.31 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9517, allocations: 3.938 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001928/0.9519, allocations: 4 kB / 1.103 GB, free: 13.57 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.0003779/0.9523, allocations: 0.6084 MB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.9523, allocations: 7.969 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9523, allocations: 0 / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.142e-06/0.9523, allocations: 8 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.043e-05/0.9524, allocations: 3.953 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.9527, allocations: 74.38 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.9529, allocations: 0.6729 MB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.953, allocations: 8.125 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.953, allocations: 9.312 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.953, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.9711, allocations: 0.527 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.9714, allocations: 156.1 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.404/2.376, allocations: 0 / 1.105 GB, free: 11.42 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)