Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Splice",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.634/1.634, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001085/0.001085, allocations: 183.6 kB / 371.6 MB, free: 3.395 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.703/1.703, 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.001073/0.001073, allocations: 94.08 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.383e-05, allocations: 8 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9451/1.24, allocations: 140.1 MB / 1.117 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.241, allocations: 78.34 kB / 1.117 GB, free: 43.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005609/1.246, allocations: 2.13 MB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.743e-06/1.246, allocations: 0 / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.246, allocations: 4 kB / 1.119 GB, free: 42.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002583/1.247, allocations: 358.9 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.247, allocations: 12.03 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/1.247, allocations: 37.88 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/1.247, allocations: 8.062 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/1.247, allocations: 168.6 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.247, allocations: 13.61 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/1.247, allocations: 0 / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/1.247, allocations: 48.05 kB / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.247, allocations: 0 / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/1.247, allocations: 2.312 kB / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.247, allocations: 4.562 kB / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/1.247, allocations: 14.25 kB / 1.12 GB, free: 41.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/1.247, allocations: 290.4 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.511e-05/1.247, allocations: 25.95 kB / 1.12 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/1.247, allocations: 12.61 kB / 1.12 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003063/1.248, allocations: 0.5579 MB / 1.12 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/1.248, allocations: 34.56 kB / 1.12 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.248, allocations: 0 / 1.12 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/1.248, allocations: 48.61 kB / 1.12 GB, free: 40.69 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/1.248, allocations: 62.45 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/1.248, allocations: 105.1 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/1.248, allocations: 28.64 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.1e-05/1.248, allocations: 90.69 kB / 1.121 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/1.248, allocations: 7.281 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.248, allocations: 4.844 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/1.248, allocations: 310.8 kB / 1.121 GB, free: 40.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/1.248, allocations: 10.56 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/1.248, allocations: 4 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/1.248, allocations: 6.203 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.248, allocations: 4 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.226e-05/1.248, allocations: 56.52 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/1.248, allocations: 4 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.248, allocations: 0 / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/1.248, allocations: 0.5625 kB / 1.121 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/1.248, allocations: 8.688 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.248, allocations: 0.625 kB / 1.121 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/1.248, allocations: 11.36 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.248, allocations: 4 kB / 1.121 GB, free: 39.99 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 (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 4.102e-05/1.248, allocations: 108.3 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/1.248, allocations: 4.938 kB / 1.121 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/1.249, allocations: 51.48 kB / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.249, allocations: 0 / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.249, allocations: 0.5 kB / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/1.249, allocations: 0 / 1.121 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/1.249, allocations: 170.6 kB / 1.121 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.249, allocations: 1.438 kB / 1.121 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/1.249, allocations: 7.938 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.249, allocations: 4.031 kB / 1.121 GB, free: 39.62 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.249, allocations: 8.219 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.249, allocations: 2.047 kB / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.249, allocations: 0 / 1.122 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.672e-05/1.249, allocations: 145.5 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/1.249, allocations: 81.02 kB / 1.122 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/1.249, allocations: 4 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/1.249, allocations: 5.094 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/1.249, allocations: 11.34 kB / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/1.249, allocations: 0 / 1.122 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.407e-05/1.249, allocations: 95.19 kB / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.249, allocations: 0 / 1.122 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001975/1.249, allocations: 12 kB / 1.122 GB, free: 39.26 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 (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.0002829/1.25, allocations: 0.6937 MB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.314e-05/1.25, allocations: 10.81 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.25, allocations: 0 / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/1.25, allocations: 15 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/1.25, allocations: 2.812 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/1.25, allocations: 110.7 kB / 1.123 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.25, allocations: 0.6878 MB / 1.123 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.497e-05/1.25, allocations: 5.031 kB / 1.123 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/1.25, allocations: 18.12 kB / 1.123 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.25, allocations: 0 / 1.123 GB, free: 37.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/1.274, allocations: 1.214 MB / 1.125 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.275, allocations: 138.8 kB / 1.125 GB, free: 36.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.915, allocations: 4 kB / 1.125 GB, free: 36.83 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)