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.393/2.393, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001535, allocations: 182.6 kB / 325.5 MB, free: 2.902 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.397/2.397, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001232/0.001231, allocations: 85.78 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004858, allocations: 16.77 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2315, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4627, allocations: 132.9 MB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.4631, allocations: 79.94 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008534/0.4716, allocations: 1.82 MB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4717, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.4717, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.6823 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.0005097/0.4722, allocations: 383 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4723, allocations: 12.03 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.4724, allocations: 38.55 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.4724, allocations: 7.953 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4726, allocations: 171 kB / 1.031 GB, free: 9.859 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4726, allocations: 4 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4726, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4728, allocations: 65.61 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.4728, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4729, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4729, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.473, allocations: 31.98 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/0.4735, allocations: 288.6 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.4737, allocations: 34.56 kB / 1.031 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.4743, allocations: 0.5544 MB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4743, allocations: 30.56 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.4743, allocations: 4 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.4747, allocations: 77.56 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.4747, allocations: 55.41 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.4749, allocations: 112.9 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4749, allocations: 25.7 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.475, allocations: 92.25 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.475, allocations: 7.906 kB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-06/0.475, allocations: 4 kB / 1.032 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4751, allocations: 311.7 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.506e-05/0.4752, allocations: 15.98 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.316e-05/0.4753, allocations: 8 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.126e-05/0.4754, allocations: 20.05 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4754, allocations: 0 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.4756, allocations: 61.59 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4757, allocations: 5.562 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4757, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.4757, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4758, allocations: 19.81 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4758, allocations: 4 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.4759, allocations: 4.031 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4759, allocations: 4 kB / 1.033 GB, free: 7.793 MB / 0.6823 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 () * Number of clocked 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.835e-05/0.476, allocations: 107.7 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.4761, allocations: 11.91 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.4763, allocations: 61.2 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.4763, allocations: 0 / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4764, allocations: 7.984 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4764, allocations: 4 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.4766, allocations: 165.7 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4766, allocations: 3.984 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.4767, allocations: 8 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4767, allocations: 3.938 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4767, allocations: 3.938 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4767, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4767, allocations: 0 / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.477, allocations: 163.5 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.4771, allocations: 81.02 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4771, allocations: 0 / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.4772, allocations: 4 kB / 1.033 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4772, allocations: 3.984 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.4773, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.487e-05/0.4774, allocations: 103.3 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4774, allocations: 0 / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003242/0.4777, allocations: 15.89 kB / 1.033 GB, free: 6.965 MB / 0.6823 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 () * Number of clocked 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.0006306/0.4783, allocations: 0.7008 MB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.4785, allocations: 23.98 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4786, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.4786, allocations: 12 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.4789, allocations: 7.984 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4799, allocations: 476.8 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4802, allocations: 0.6887 MB / 1.035 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.4803, allocations: 4 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4803, allocations: 15.42 kB / 1.035 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/0.4803, allocations: 7.938 kB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.5056, allocations: 1.235 MB / 1.037 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003776/0.5061, allocations: 165.6 kB / 1.037 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/2.826, allocations: 0 / 1.037 GB, free: 3.57 MB / 0.6823 GB