Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Splice.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.573/2.573, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001492, allocations: 189.6 kB / 315.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.3 MB / 0.5662 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 94.5 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.42e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.131, allocations: 133 MB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.131, allocations: 79.31 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008701/1.14, allocations: 1.806 MB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.884e-06/1.14, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.14, allocations: 0 / 1.016 GB, free: 4.371 MB / 0.6355 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.0005723/1.141, allocations: 358.4 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.141, allocations: 8.031 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/1.141, allocations: 15.09 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.141, allocations: 178.9 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/1.141, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/1.141, allocations: 7.969 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/1.141, allocations: 19.5 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/1.142, allocations: 40.94 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.142, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.142, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.142, allocations: 4 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/1.142, allocations: 258.3 kB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/1.142, allocations: 21.7 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/1.142, allocations: 12.3 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/1.143, allocations: 0.5569 MB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/1.143, allocations: 34.56 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.727e-06/1.143, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002458/1.143, allocations: 56.08 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.143, allocations: 51.41 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/1.143, allocations: 96.25 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/1.143, allocations: 25.7 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/1.143, allocations: 99.78 kB / 1.018 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/1.144, allocations: 3.906 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.144, allocations: 4.031 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.144, allocations: 317 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/1.144, allocations: 4 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/1.144, allocations: 7.5 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/1.144, allocations: 7.984 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.144, allocations: 0 / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001259/1.144, allocations: 41.39 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.144, allocations: 4.75 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/1.144, allocations: 4.094 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.144, allocations: 3.984 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.144, allocations: 11.94 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.144, allocations: 0 / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/1.144, allocations: 7.953 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/1.144, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.6355 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.106e-05/1.144, allocations: 104.9 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001358/1.144, allocations: 56.34 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/1.145, allocations: 8.031 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/1.145, allocations: 57.05 kB / 1.018 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/1.145, allocations: 7.938 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.145, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.145, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/1.145, allocations: 140.7 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.145, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.299e-05/1.145, allocations: 7.984 kB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.145, allocations: 3.625 kB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/1.145, allocations: 4.031 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.145, allocations: 4 kB / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.145, allocations: 0 / 1.018 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/1.145, allocations: 145.4 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/1.145, allocations: 77.11 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/1.145, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/1.146, allocations: 4 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/1.146, allocations: 8.016 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.146, allocations: 4 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.665e-05/1.146, allocations: 87.45 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.146, allocations: 0 / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003414/1.146, allocations: 19.89 kB / 1.019 GB, free: 1.098 MB / 0.6355 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.0005329/1.147, allocations: 0.6878 MB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.357e-05/1.147, allocations: 11.44 kB / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.147, allocations: 0 / 1.019 GB, free: 392 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/1.147, allocations: 7.312 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/1.147, allocations: 5.812 kB / 1.019 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/1.147, allocations: 113.4 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.148, allocations: 0.6847 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.96e-05/1.148, allocations: 4.531 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/1.148, allocations: 17.88 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/1.148, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/1.186, allocations: 0.8244 MB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/1.186, allocations: 132.8 kB / 1.021 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/3.473, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.6511 GB