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.476/1.476, allocations: 249.5 MB / 257 MB, free: 6.953 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.001473/0.001473, allocations: 186 kB / 316.3 MB, free: 3.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.00104/0.00104, allocations: 104.2 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2.007e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2005, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7296/0.9302, allocations: 133.4 MB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003635/0.9307, allocations: 96.3 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009484/0.9402, allocations: 3.207 MB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9402, allocations: 0 / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.9402, allocations: 4 kB / 1.019 GB, free: 1.367 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.0004303/0.9407, allocations: 429 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9407, allocations: 16.03 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.9408, allocations: 3.906 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.9409, allocations: 171 kB / 1.019 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.9409, allocations: 4 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.9409, allocations: 3.938 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.515e-05/0.941, allocations: 35.05 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.9411, allocations: 68.48 kB / 1.02 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.9412, allocations: 3.938 kB / 1.02 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.9412, allocations: 4 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9412, allocations: 3.938 kB / 1.02 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.9416, allocations: 259.7 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.9416, allocations: 53 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.9417, allocations: 35.98 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.9417, allocations: 0 / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.9417, allocations: 38.56 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.9418, allocations: 0 / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002614/0.942, allocations: 107.4 kB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.9421, allocations: 80.67 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.9422, allocations: 116 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.9422, allocations: 25.7 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.9422, allocations: 87.7 kB / 1.02 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.9423, allocations: 11.8 kB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.9423, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9424, allocations: 326.5 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.355e-05/0.9425, allocations: 50.78 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.9425, allocations: 50.22 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.9426, allocations: 46.34 kB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9426, allocations: 0 / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002012/0.9429, allocations: 143.7 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.9429, allocations: 63.39 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.9429, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.9429, allocations: 0 / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.943, allocations: 8 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.943, allocations: 3.938 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.9431, allocations: 8 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.9431, allocations: 17.05 kB / 1.021 GB, free: 15.06 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 8.268e-05/0.9432, allocations: 134.6 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001612/0.9434, allocations: 110.3 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.9434, allocations: 11.89 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.9434, allocations: 4.344 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9434, allocations: 4.031 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9435, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9435, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.9436, allocations: 153.7 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.9436, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.9436, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9437, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.9437, allocations: 3.984 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.9437, allocations: 5.297 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9437, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.9439, allocations: 210.5 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.9439, allocations: 81.02 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.944, allocations: 4 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.944, allocations: 7.984 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.9441, allocations: 7.125 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.9441, allocations: 0 / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.9442, allocations: 94.64 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9442, allocations: 4.031 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000489/0.9447, allocations: 63.5 kB / 1.022 GB, free: 14.12 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.0006474/0.9453, allocations: 0.8061 MB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.9456, allocations: 222.1 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9456, allocations: 4.031 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/0.9457, allocations: 99.33 kB / 1.023 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.9458, allocations: 7.984 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.9463, allocations: 181.2 kB / 1.023 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.9466, allocations: 0.6885 MB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.519e-05/0.9466, allocations: 0 / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.9466, allocations: 14.5 kB / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of SimCode: time 1.914e-06/0.9467, allocations: 0 / 1.024 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.9659, allocations: 2.112 MB / 1.026 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.9662, allocations: 202.1 kB / 1.026 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.474, allocations: 2.812 kB / 1.026 GB, free: 9.785 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)