Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.333/2.333, allocations: 284.7 MB / 297.2 MB, free: 6.406 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.001419/0.001419, allocations: 168.9 kB / 365.6 MB, free: 2.66 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.931/1.931, allocations: 205.1 MB / 0.6239 GB, free: 8.293 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.001049/0.001049, allocations: 93.23 kB / 0.7371 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.799e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.759, allocations: 115.2 MB / 0.9699 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/0.9887, allocations: 139.1 MB / 1.106 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.989, allocations: 77.5 kB / 1.106 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008319/0.9973, allocations: 1.818 MB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9974, allocations: 0 / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.9974, allocations: 0 / 1.108 GB, free: 11.47 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004125/0.9978, allocations: 368.7 kB / 1.108 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.9979, allocations: 8.031 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.9979, allocations: 35.77 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.998, allocations: 4.938 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.9981, allocations: 174.9 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.9982, allocations: 5.969 kB / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.9982, allocations: 0 / 1.108 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.9983, allocations: 59.3 kB / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.9984, allocations: 0 / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.9984, allocations: 0 / 1.108 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9984, allocations: 3.984 kB / 1.108 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.9985, allocations: 20.81 kB / 1.108 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.9989, allocations: 282.1 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.145e-05/0.999, allocations: 31.14 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.9991, allocations: 12.92 kB / 1.109 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006124/0.9997, allocations: 0.5514 MB / 1.109 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.9997, allocations: 36.44 kB / 1.109 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/0.9998, allocations: 0 / 1.109 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/1, allocations: 49.64 kB / 1.109 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/1, allocations: 52.12 kB / 1.109 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1, allocations: 109.5 kB / 1.109 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/1, allocations: 29.7 kB / 1.109 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/1, allocations: 95.22 kB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/1, allocations: 7.844 kB / 1.109 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/1, allocations: 0 / 1.109 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1, allocations: 318.8 kB / 1.11 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/1, allocations: 0 / 1.11 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/1.001, allocations: 8 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/1.001, allocations: 12.08 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.001, allocations: 0 / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001174/1.001, allocations: 49.55 kB / 1.11 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.001, allocations: 8 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/1.001, allocations: 0 / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.001, allocations: 0 / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/1.001, allocations: 10.61 kB / 1.11 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.001, allocations: 3.953 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/1.001, allocations: 4 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.001, allocations: 7.969 kB / 1.11 GB, free: 8.824 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 (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 7.579e-05/1.001, allocations: 105 kB / 1.11 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/1.001, allocations: 4 kB / 1.11 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/1.001, allocations: 57.23 kB / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/1.001, allocations: 0 / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.001, allocations: 0 / 1.11 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/1.001, allocations: 10.02 kB / 1.11 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/1.002, allocations: 161.7 kB / 1.11 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.002, allocations: 8.031 kB / 1.11 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/1.002, allocations: 4 kB / 1.11 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.002, allocations: 0 / 1.11 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.002, allocations: 0 / 1.11 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/1.002, allocations: 5.703 kB / 1.11 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.002, allocations: 0 / 1.11 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/1.002, allocations: 147.5 kB / 1.11 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/1.002, allocations: 85 kB / 1.11 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/1.002, allocations: 4.031 kB / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.462e-05/1.002, allocations: 4 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/1.002, allocations: 0 / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/1.002, allocations: 1.5 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.999e-05/1.002, allocations: 98.44 kB / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/1.002, allocations: 0 / 1.111 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002958/1.003, allocations: 12 kB / 1.111 GB, free: 8.035 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 (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.0005249/1.003, allocations: 0.689 MB / 1.111 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001033/1.003, allocations: 12 kB / 1.111 GB, free: 7.309 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.003, allocations: 4 kB / 1.111 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/1.003, allocations: 15.92 kB / 1.111 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001687/1.003, allocations: 4.641 kB / 1.111 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/1.004, allocations: 113.1 kB / 1.111 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.004, allocations: 0.6887 MB / 1.112 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.953e-05/1.004, allocations: 4 kB / 1.112 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/1.004, allocations: 16.73 kB / 1.112 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.004, allocations: 0 / 1.112 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/1.027, allocations: 1.221 MB / 1.113 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/1.028, allocations: 148.3 kB / 1.113 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.104/3.132, allocations: 0 / 1.113 GB, free: 5.16 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1)