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.333/2.333, allocations: 248.5 MB / 261.1 MB, free: 5.992 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.002291/0.002291, allocations: 174.5 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.2 MB / 0.5711 GB, free: 11.74 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.001234/0.001233, allocations: 93.73 kB / 0.6754 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.053e-05/5.074e-05, allocations: 11.98 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 106.3 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9068/1.127, allocations: 132.8 MB / 1.02 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/1.127, allocations: 78.19 kB / 1.02 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008514/1.135, allocations: 1.814 MB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/1.135, allocations: 0 / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.136, allocations: 4 kB / 1.022 GB, free: 0.5195 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.000467/1.136, allocations: 358.2 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/1.136, allocations: 8.031 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/1.136, allocations: 34.06 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/1.136, allocations: 11.86 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/1.136, allocations: 174.9 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.136, allocations: 3.984 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.136, allocations: 4 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/1.137, allocations: 53.05 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/1.137, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.137, allocations: 7.688 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.137, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/1.137, allocations: 15 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/1.137, allocations: 278 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/1.137, allocations: 29.45 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.569e-05/1.137, allocations: 11.67 kB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/1.138, allocations: 0.5596 MB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.138, allocations: 34.55 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/1.138, allocations: 0 / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.00021/1.138, allocations: 56.56 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.138, allocations: 51.41 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/1.138, allocations: 114.4 kB / 1.024 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/1.138, allocations: 29.58 kB / 1.024 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/1.138, allocations: 83.39 kB / 1.024 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/1.139, allocations: 11.84 kB / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/1.139, allocations: 0 / 1.024 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.139, allocations: 317.2 kB / 1.024 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/1.139, allocations: 10.22 kB / 1.024 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.573e-05/1.139, allocations: 10.94 kB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/1.139, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.139, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/1.139, allocations: 51.56 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/1.139, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.139, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.139, allocations: 3.953 kB / 1.024 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/1.139, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.139, allocations: 4.094 kB / 1.024 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/1.139, allocations: 11.92 kB / 1.024 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.139, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.6511 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.333e-05/1.139, allocations: 101 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/1.139, allocations: 7.906 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/1.14, allocations: 59.61 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.14, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/1.14, allocations: 4.828 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.14, allocations: 4.031 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/1.14, allocations: 164.2 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.14, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/1.14, allocations: 10.17 kB / 1.025 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.14, allocations: 4 kB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.14, allocations: 0.875 kB / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/1.14, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.14, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.14, allocations: 149.8 kB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/1.14, allocations: 81.11 kB / 1.025 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/1.14, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/1.14, allocations: 8 kB / 1.025 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/1.14, allocations: 3.984 kB / 1.025 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/1.14, allocations: 0 / 1.025 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.75e-05/1.14, allocations: 102.4 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/1.14, allocations: 0 / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002982/1.141, allocations: 16.03 kB / 1.025 GB, free: 13.17 MB / 0.6511 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.00054/1.141, allocations: 0.6868 MB / 1.026 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001082/1.141, allocations: 11.81 kB / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.141, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/1.142, allocations: 16.03 kB / 1.026 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/1.142, allocations: 4.609 kB / 1.026 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/1.142, allocations: 109.2 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/1.142, allocations: 0.6848 MB / 1.027 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.251e-05/1.143, allocations: 7.969 kB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/1.143, allocations: 18.25 kB / 1.027 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/1.143, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/1.162, allocations: 1.216 MB / 1.028 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000368/1.162, allocations: 143 kB / 1.028 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.517, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.6511 GB