Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 302.4 MB, free: 8.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001365, allocations: 174.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.0009019, allocations: 89.03 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008549/0.0008552, allocations: 12.83 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2964, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001749/0.2982, allocations: 1.145 MB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.2997, allocations: 0.7747 MB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.2998, allocations: 0 / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.6e-05/0.2998, allocations: 3.938 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.2999, allocations: 4 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006715/0.3006, allocations: 124.8 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.726e-05/0.3007, allocations: 35.91 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.3008, allocations: 4.281 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.12e-05/0.3008, allocations: 15.98 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.3009, allocations: 15.92 kB / 0.9806 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3009, allocations: 11.98 kB / 0.9806 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.3013, allocations: 171.8 kB / 0.9807 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.3013, allocations: 11.92 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.3014, allocations: 29.7 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.3016, allocations: 131.7 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3016, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3017, allocations: 4 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3017, allocations: 0 / 0.9809 GB, free: 25.74 MB / 0.6198 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.000506/0.3022, allocations: 430.6 kB / 0.9813 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3022, allocations: 12.03 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.3023, allocations: 34.5 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3023, allocations: 11.86 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3024, allocations: 167.1 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3025, allocations: 3.938 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.855e-05/0.3025, allocations: 8 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.3027, allocations: 73.66 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3028, allocations: 0 / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3028, allocations: 4 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3028, allocations: 4 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.303, allocations: 47.97 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3034, allocations: 280.8 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3036, allocations: 66.48 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.3037, allocations: 48.91 kB / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.3037, allocations: 0 / 0.982 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3038, allocations: 34.56 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.3038, allocations: 4 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005062/0.3043, allocations: 187.3 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.3043, allocations: 89 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.3045, allocations: 121.8 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3045, allocations: 25.7 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.3045, allocations: 96.03 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3046, allocations: 7.906 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.3046, allocations: 4 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.3046, allocations: 314.8 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3048, allocations: 67.98 kB / 0.9829 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.305, allocations: 55.97 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3051, allocations: 111.4 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3052, allocations: 0 / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003887/0.3056, allocations: 221 kB / 0.9833 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.3056, allocations: 67.41 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3056, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3057, allocations: 0 / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3058, allocations: 7.984 kB / 0.9834 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3058, allocations: 7.953 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.3059, allocations: 11.84 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3059, allocations: 4 kB / 0.9834 GB, free: 22.88 MB / 0.6198 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.0001031/0.306, allocations: 147.5 kB / 0.9835 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.3061, allocations: 4 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3061, allocations: 7.906 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3061, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3061, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3062, allocations: 3.953 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.3063, allocations: 177.6 kB / 0.9837 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3064, allocations: 4.062 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3064, allocations: 7.984 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3064, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3064, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3065, allocations: 4 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3065, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.3068, allocations: 261.3 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.3069, allocations: 84.95 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3069, allocations: 3.938 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.307, allocations: 16.02 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3071, allocations: 8 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3072, allocations: 0 / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.652e-05/0.3072, allocations: 95.27 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3073, allocations: 3.938 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004183/0.3077, allocations: 55.98 kB / 0.9843 GB, free: 21.9 MB / 0.6198 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.0007784/0.3085, allocations: 0.8351 MB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004186/0.3089, allocations: 242.7 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3089, allocations: 0 / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.3091, allocations: 107.4 kB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.3094, allocations: 4.766 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3109, allocations: 0.7381 MB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.311, allocations: 0.6926 MB / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.026e-05/0.3111, allocations: 0 / 0.9868 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.3111, allocations: 15.44 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of SimCode: time 9.21e-07/0.3111, allocations: 0 / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02591/0.337, allocations: 2.559 MB / 0.9893 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.3374, allocations: 220.3 kB / 0.9895 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/2.81, allocations: 3.266 kB / 0.9895 GB, free: 16.55 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)