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.467/1.467, allocations: 252 MB / 267.3 MB, free: 10.86 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.001197/0.001197, allocations: 173.8 kB / 327 MB, free: 2.102 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.551/1.551, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007396/0.0007396, allocations: 83.73 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 16.16 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001407/0.1992, allocations: 1.16 MB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2003, allocations: 0.8549 MB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.2003, allocations: 0 / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.2004, allocations: 4 kB / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.637e-05/0.2005, allocations: 0 / 0.9029 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2009, allocations: 127.7 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.201, allocations: 39.98 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.265e-05/0.2011, allocations: 3.984 kB / 0.9031 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.2011, allocations: 15.94 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.276e-05/0.2012, allocations: 15.97 kB / 0.9031 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.2012, allocations: 4 kB / 0.9031 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.2015, allocations: 183.7 kB / 0.9033 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2015, allocations: 11.92 kB / 0.9033 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2016, allocations: 45.58 kB / 0.9033 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.2018, allocations: 191.6 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2018, allocations: 4 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2018, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.2018, allocations: 0 / 0.9035 GB, free: 60.73 MB / 0.6042 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.0003721/0.2022, allocations: 419.1 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2022, allocations: 8.031 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.85e-05/0.2023, allocations: 38.75 kB / 0.904 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.2023, allocations: 4.844 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/0.2024, allocations: 172.3 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2024, allocations: 8.375 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.2024, allocations: 4.312 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.2026, allocations: 77.8 kB / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.2026, allocations: 0 / 0.9042 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2026, allocations: 7.938 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2026, allocations: 3.938 kB / 0.9042 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.813e-05/0.2027, allocations: 51.95 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.203, allocations: 284.8 kB / 0.9045 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.51e-05/0.2031, allocations: 62.55 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.2032, allocations: 44.91 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.2032, allocations: 4 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.2033, allocations: 38.5 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2033, allocations: 0 / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003209/0.2036, allocations: 187.3 kB / 0.9049 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.2036, allocations: 81.11 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.2037, allocations: 129.8 kB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2037, allocations: 29.73 kB / 0.9051 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.2038, allocations: 84.14 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2038, allocations: 15.75 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.2038, allocations: 0 / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.2038, allocations: 326.8 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.2039, allocations: 55.97 kB / 0.9056 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.204, allocations: 59.95 kB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2042, allocations: 205.8 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2042, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002174/0.2044, allocations: 221.1 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.2045, allocations: 59.41 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2045, allocations: 4.219 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2045, allocations: 0 / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.2046, allocations: 8 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2046, allocations: 0 / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.2046, allocations: 15.91 kB / 0.9061 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.2046, allocations: 3.984 kB / 0.9061 GB, free: 57.78 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.2047, allocations: 151.5 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.2047, allocations: 4 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.879e-05/0.2048, allocations: 3.906 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2048, allocations: 11.86 kB / 0.9063 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2048, allocations: 8 kB / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2048, allocations: 0 / 0.9063 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2049, allocations: 173.6 kB / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2049, allocations: 0 / 0.9064 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.723e-05/0.2049, allocations: 4 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.205, allocations: 0 / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.205, allocations: 7.938 kB / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.205, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.205, allocations: 0 / 0.9065 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.2052, allocations: 257 kB / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.2052, allocations: 81.11 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.2052, allocations: 3.984 kB / 0.9068 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.2053, allocations: 4 kB / 0.9068 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.2054, allocations: 7.984 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2054, allocations: 4 kB / 0.9068 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.434e-05/0.2055, allocations: 99.3 kB / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.82e-07/0.2055, allocations: 0 / 0.9069 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002591/0.2057, allocations: 59.94 kB / 0.907 GB, free: 56.8 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005064/0.2063, allocations: 0.839 MB / 0.9078 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.2065, allocations: 238.7 kB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2065, allocations: 0 / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-05/0.2066, allocations: 111.3 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.2068, allocations: 2.031 kB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2082, allocations: 1.777 MB / 0.9098 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2083, allocations: 0.6809 MB / 0.9105 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.2083, allocations: 0 / 0.9105 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2083, allocations: 19.42 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2083, allocations: 4 kB / 0.9105 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.2194, allocations: 2.529 MB / 0.913 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/0.2196, allocations: 255.7 kB / 0.9132 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/1.854, allocations: 0 / 0.9132 GB, free: 50.39 MB / 0.6042 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)