Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.593/1.593, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 179.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 89.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004357, allocations: 13.62 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2974, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.4946, allocations: 133 MB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.4949, allocations: 75.95 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007315/0.5023, allocations: 2.159 MB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.955e-06/0.5023, allocations: 3.938 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.5023, allocations: 8 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004825/0.5028, allocations: 371.1 kB / 1.033 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5029, allocations: 8.031 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.503, allocations: 34.56 kB / 1.033 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.503, allocations: 4 kB / 1.033 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.5031, allocations: 178.9 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5032, allocations: 0 / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.5032, allocations: 4 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.5034, allocations: 54.5 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5034, allocations: 0 / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.5034, allocations: 3.984 kB / 1.033 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5034, allocations: 4 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.5035, allocations: 31.92 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.504, allocations: 280.8 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.274e-05/0.5041, allocations: 38.5 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.5046, allocations: 0.5622 MB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.5047, allocations: 34.56 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.5047, allocations: 0 / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002869/0.505, allocations: 73.62 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.505, allocations: 51.41 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.5051, allocations: 112.9 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5052, allocations: 29.7 kB / 1.034 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.5052, allocations: 88.27 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.5053, allocations: 3.906 kB / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.5053, allocations: 0 / 1.034 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5054, allocations: 322.8 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.5055, allocations: 8 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.5056, allocations: 19.92 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.5056, allocations: 16.06 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5056, allocations: 0 / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001466/0.5058, allocations: 61.58 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5058, allocations: 4 kB / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5058, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.5058, allocations: 0 / 1.034 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.5059, allocations: 8 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.506, allocations: 7.984 kB / 1.035 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.506, allocations: 7.984 kB / 1.035 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.506, allocations: 0 / 1.035 GB, free: 6.109 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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 9.313e-05/0.5061, allocations: 105.8 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.5062, allocations: 7.906 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.5064, allocations: 69.14 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5064, allocations: 4.031 kB / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5064, allocations: 0 / 1.035 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5064, allocations: 7.953 kB / 1.035 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.5066, allocations: 161.7 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5066, allocations: 4 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.5067, allocations: 7.984 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5067, allocations: 3.938 kB / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.5067, allocations: 0 / 1.035 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5067, allocations: 3.984 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5068, allocations: 4 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.507, allocations: 163.4 kB / 1.035 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/0.5071, allocations: 85 kB / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.5071, allocations: 0 / 1.035 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/0.5072, allocations: 4 kB / 1.035 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.5072, allocations: 3.984 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5072, allocations: 8.031 kB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.058e-05/0.5073, allocations: 95.64 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5073, allocations: 0 / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002502/0.5076, allocations: 19.94 kB / 1.035 GB, free: 5.27 MB / 0.6823 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 (2): * Single equations (assignments): 2 * 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.0007092/0.5083, allocations: 0.6969 MB / 1.036 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.5085, allocations: 33.67 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5085, allocations: 0 / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.5085, allocations: 11.98 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.5087, allocations: 10.98 kB / 1.036 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009517/0.5097, allocations: 478.6 kB / 1.036 GB, free: 3.973 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.51, allocations: 0.6848 MB / 1.037 GB, free: 3.262 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.5101, allocations: 4 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.5101, allocations: 11.44 kB / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of SimCode: time 1.253e-06/0.5101, allocations: 0 / 1.037 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.5232, allocations: 1.231 MB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.5235, allocations: 177.2 kB / 1.038 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.211, allocations: 0 / 1.038 GB, free: 1.895 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)