Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.109/2.109, 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.001591/0.001591, allocations: 187.8 kB / 325.5 MB, free: 2.875 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.4/2.4, 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.001176/0.001176, allocations: 101.1 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005081, allocations: 17.72 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2231, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.448, allocations: 133.1 MB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003909/0.4485, allocations: 95.94 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01576/0.4643, allocations: 3.232 MB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/0.4643, allocations: 0 / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4643, allocations: 0 / 1.032 GB, free: 8.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005867/0.4649, allocations: 442.4 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.465, allocations: 8.031 kB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.465, allocations: 34.56 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.4651, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4652, allocations: 178.9 kB / 1.033 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.4653, allocations: 4 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.4653, allocations: 4 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.4656, allocations: 81.61 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4656, allocations: 11.91 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4656, allocations: 0 / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4656, allocations: 0 / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.4658, allocations: 47.97 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.4663, allocations: 284.9 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.4665, allocations: 62.55 kB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.4666, allocations: 0 / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.4666, allocations: 34.5 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4666, allocations: 0 / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006281/0.4672, allocations: 274.4 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.4673, allocations: 77.11 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.4674, allocations: 116.9 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.4675, allocations: 25.7 kB / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4675, allocations: 88.14 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.4676, allocations: 11.88 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4676, allocations: 4 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4677, allocations: 318.9 kB / 1.034 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4679, allocations: 59.95 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.4681, allocations: 55.97 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.4683, allocations: 115.3 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4683, allocations: 0 / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004659/0.4688, allocations: 224.9 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.4689, allocations: 65.12 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4689, allocations: 0 / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4689, allocations: 0 / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.469, allocations: 7.984 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.469, allocations: 0 / 1.035 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.4691, allocations: 19.81 kB / 1.035 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.4692, allocations: 3.953 kB / 1.035 GB, free: 6.008 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001409/0.4693, allocations: 151.5 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.4694, allocations: 7.906 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.4694, allocations: 3.906 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4694, allocations: 4 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4694, allocations: 64 / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4695, allocations: 4 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.4697, allocations: 173.6 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4697, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.4697, allocations: 11.92 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4698, allocations: 0 / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.4698, allocations: 8 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4698, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.4698, allocations: 0 / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.4702, allocations: 249.2 kB / 1.035 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.4703, allocations: 85.02 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.4703, allocations: 0 / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4704, allocations: 12.02 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.4705, allocations: 4 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4706, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.4706, allocations: 95.27 kB / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4707, allocations: 0 / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005013/0.4712, allocations: 71.92 kB / 1.035 GB, free: 5.031 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0009592/0.4721, allocations: 0.8508 MB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004856/0.4726, allocations: 238.7 kB / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4727, allocations: 0 / 1.036 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.4729, allocations: 107.4 kB / 1.037 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.473, allocations: 4 kB / 1.037 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007916/0.4738, allocations: 411.4 kB / 1.037 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4741, allocations: 0.6927 MB / 1.038 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.234e-05/0.4742, allocations: 3.906 kB / 1.038 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.4742, allocations: 15.44 kB / 1.038 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/0.4742, allocations: 4 kB / 1.038 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.4961, allocations: 2.456 MB / 1.04 GB, free: 336 kB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.4965, allocations: 218.7 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/2.935, allocations: 6.688 kB / 1.04 GB, free: 88 kB / 0.6823 GB