Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001036/0.001036, allocations: 176.9 kB / 321.3 MB, free: 14.64 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.736/1.736, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009019/0.0009019, allocations: 82.53 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.96e-05/4.962e-05, allocations: 4 kB / 0.7881 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.216, allocations: 133.2 MB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.216, allocations: 95.09 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01149/1.228, allocations: 3.215 MB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.414e-06/1.228, allocations: 0 / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.228, allocations: 4 kB / 1.025 GB, free: 14.69 MB / 0.6511 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.0006789/1.229, allocations: 428.9 kB / 1.026 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/1.229, allocations: 8.031 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/1.229, allocations: 34.55 kB / 1.026 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/1.229, allocations: 11.91 kB / 1.026 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.229, allocations: 167 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.229, allocations: 0 / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/1.229, allocations: 4 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/1.229, allocations: 79.42 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.229, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/1.229, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/1.229, allocations: 3.938 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/1.23, allocations: 38.17 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005289/1.23, allocations: 274.8 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/1.23, allocations: 64.81 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/1.23, allocations: 43.66 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/1.23, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.23, allocations: 33.94 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/1.23, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0003619/1.231, allocations: 135.2 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/1.231, allocations: 77.11 kB / 1.027 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/1.231, allocations: 117.8 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/1.231, allocations: 33.73 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/1.231, allocations: 87.44 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.231, allocations: 11.81 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.231, allocations: 3.812 kB / 1.027 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.231, allocations: 318.8 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/1.231, allocations: 52.78 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/1.232, allocations: 55.11 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/1.232, allocations: 106.4 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.232, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002811/1.232, allocations: 204.3 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/1.232, allocations: 63.39 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.232, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.232, allocations: 0 / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/1.232, allocations: 4 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/1.232, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/1.232, allocations: 15.67 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/1.232, allocations: 4 kB / 1.028 GB, free: 12.13 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: 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.0001224/1.232, allocations: 142.6 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.233, allocations: 7.906 kB / 1.028 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/1.233, allocations: 7.531 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.233, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.233, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.233, allocations: 0 / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.233, allocations: 176.2 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.233, allocations: 3.938 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/1.233, allocations: 8.078 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.233, allocations: 4.047 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/1.233, allocations: 8 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.233, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.233, allocations: 0 / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/1.233, allocations: 240.3 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.601e-05/1.233, allocations: 81.09 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/1.233, allocations: 7.125 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/1.233, allocations: 4 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.234, allocations: 15.95 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/1.234, allocations: 0 / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.221e-05/1.234, allocations: 94.92 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/1.234, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004407/1.234, allocations: 71.23 kB / 1.028 GB, free: 11.21 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.0008342/1.235, allocations: 0.8391 MB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002961/1.235, allocations: 225.5 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.235, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/1.235, allocations: 105.5 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/1.236, allocations: 5.969 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/1.236, allocations: 185.1 kB / 1.03 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/1.237, allocations: 0.6887 MB / 1.03 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.766e-05/1.237, allocations: 4.062 kB / 1.03 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/1.237, allocations: 10.75 kB / 1.03 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of SimCode: time 2e-07/1.237, allocations: 0 / 1.03 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/1.251, allocations: 2.49 MB / 1.033 GB, free: 6.805 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.251, allocations: 194.4 kB / 1.033 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.873, allocations: 2.344 kB / 1.033 GB, free: 6.586 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)