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.646/2.646, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001571/0.00157, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.2 MB / 0.6191 GB, free: 12.14 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.001026/0.001025, allocations: 88.09 kB / 0.7321 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.822e-05, allocations: 8 kB / 0.8508 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8521, allocations: 115.3 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/1.093, allocations: 138.4 MB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/1.093, allocations: 75.95 kB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008746/1.102, allocations: 1.798 MB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.102, allocations: 0.5 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.945e-06/1.102, allocations: 0 / 1.1 GB, free: 136 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004956/1.103, allocations: 369.2 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.103, allocations: 12.47 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/1.103, allocations: 5.203 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.103, allocations: 175.4 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/1.103, allocations: 4.625 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.103, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/1.103, allocations: 20.53 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/1.103, allocations: 45.12 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.103, allocations: 1.594 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.103, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/1.103, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/1.104, allocations: 255.8 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/1.104, allocations: 23.27 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/1.104, allocations: 13.73 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/1.104, allocations: 0.5556 MB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.104, allocations: 31.38 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/1.104, allocations: 6.031 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002577/1.105, allocations: 53.53 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.105, allocations: 51.41 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/1.105, allocations: 106.5 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/1.105, allocations: 29.69 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/1.105, allocations: 88.08 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/1.105, allocations: 8.656 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/1.105, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.105, allocations: 315.7 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/1.105, allocations: 9.203 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/1.105, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/1.105, allocations: 8.938 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.105, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001314/1.105, allocations: 57.16 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.106, allocations: 4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.106, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.106, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.106, allocations: 7.828 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.106, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/1.106, allocations: 3.984 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/1.106, allocations: 9.891 kB / 1.103 GB, free: 13.6 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 8.938e-05/1.106, allocations: 106.7 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001323/1.106, allocations: 41.7 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.106, allocations: 3.984 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/1.106, allocations: 62.31 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.106, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.106, allocations: 7.953 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.106, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/1.107, allocations: 142.2 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.107, allocations: 0 / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/1.107, allocations: 8 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.107, allocations: 1.172 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-06/1.107, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.107, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.107, allocations: 3.188 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/1.107, allocations: 151.5 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/1.107, allocations: 77.11 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/1.107, allocations: 6.547 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/1.107, allocations: 4 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/1.107, allocations: 3.938 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/1.107, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.344e-05/1.107, allocations: 95.3 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.107, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000338/1.108, allocations: 19.83 kB / 1.103 GB, free: 12.8 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.0005325/1.108, allocations: 0.6734 MB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/1.108, allocations: 16.03 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.108, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/1.108, allocations: 15.94 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/1.108, allocations: 1.922 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/1.109, allocations: 103.9 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/1.109, allocations: 0.6846 MB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.045e-05/1.109, allocations: 5.797 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/1.109, allocations: 11.56 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/1.109, allocations: 4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/1.147, allocations: 0.8246 MB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/1.148, allocations: 133.9 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/3.334, allocations: 0.5 kB / 1.106 GB, free: 10.22 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)