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.213/2.213, allocations: 248.7 MB / 256.2 MB, free: 7.129 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.001546/0.001546, allocations: 180.7 kB / 315.4 MB, free: 4.008 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.06/2.06, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001131/0.001131, allocations: 82.55 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.644e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2095, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8601/1.07, allocations: 133.2 MB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.07, allocations: 94.12 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01552/1.085, allocations: 3.21 MB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.086, allocations: 0 / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.086, allocations: 0 / 1.017 GB, free: 2.746 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005828/1.086, allocations: 429.6 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.086, allocations: 8.031 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/1.086, allocations: 7.906 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/1.086, allocations: 171 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.086, allocations: 4 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/1.086, allocations: 11.88 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001438/1.087, allocations: 39.41 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/1.087, allocations: 68.92 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/1.087, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.087, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.087, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/1.087, allocations: 256.9 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/1.087, allocations: 50.19 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/1.088, allocations: 48.41 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.088, allocations: 0 / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/1.088, allocations: 34.5 kB / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/1.088, allocations: 0 / 1.019 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003471/1.088, allocations: 112.9 kB / 1.019 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/1.088, allocations: 81.14 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.088, allocations: 116.5 kB / 1.019 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/1.088, allocations: 25.7 kB / 1.019 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/1.088, allocations: 88.08 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/1.088, allocations: 3.906 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/1.088, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.088, allocations: 326.7 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/1.089, allocations: 47.53 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.089, allocations: 47.23 kB / 1.019 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/1.089, allocations: 55.41 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.089, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003445/1.089, allocations: 152.6 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.424e-05/1.089, allocations: 59.41 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.089, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.089, allocations: 0 / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.039e-05/1.089, allocations: 7.984 kB / 1.02 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.09, allocations: 3.938 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/1.09, allocations: 8 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.09, allocations: 11.88 kB / 1.02 GB, free: 444 kB / 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: 1 (cubSpl.i) * Number of discrete 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.000107/1.09, allocations: 138.6 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002627/1.09, allocations: 111.7 kB / 1.02 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/1.09, allocations: 7.906 kB / 1.02 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/1.09, allocations: 8.156 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/1.09, allocations: 0 / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.09, allocations: 0 / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.09, allocations: 0 / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/1.09, allocations: 153.5 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.09, allocations: 8.031 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/1.09, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.09, allocations: 7.938 kB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.09, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.091, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.091, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/1.091, allocations: 207.2 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/1.091, allocations: 81.02 kB / 1.02 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.091, allocations: 7.844 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.091, allocations: 8 kB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/1.091, allocations: 7.984 kB / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.091, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001338/1.091, allocations: 94.95 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.091, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004946/1.092, allocations: 63.88 kB / 1.021 GB, free: 15.5 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * 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.0008539/1.093, allocations: 0.8088 MB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003636/1.093, allocations: 224.9 kB / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.093, allocations: 0 / 1.022 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/1.093, allocations: 95.14 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/1.093, allocations: 3.812 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/1.094, allocations: 188.9 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/1.094, allocations: 0.6885 MB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.136e-05/1.094, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/1.094, allocations: 11.25 kB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/1.094, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/1.133, allocations: 2.121 MB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/1.133, allocations: 180.2 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/3.464, allocations: 1.688 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB