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.495/1.495, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001048/0.001048, allocations: 183.7 kB / 326.5 MB, free: 2.234 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.621/1.621, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0009144/0.0009144, allocations: 92.23 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2403, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001577/0.242, allocations: 1.156 MB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2432, allocations: 0.7859 MB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.2432, allocations: 0 / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.029e-05/0.2433, allocations: 3.938 kB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.2434, allocations: 8 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2441, allocations: 119.7 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.2442, allocations: 19.97 kB / 0.9022 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2443, allocations: 11.98 kB / 0.9022 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.2443, allocations: 7.938 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.2444, allocations: 19.97 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2444, allocations: 4 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.2448, allocations: 171.7 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.2448, allocations: 4 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.2449, allocations: 33.64 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.2451, allocations: 131.8 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2451, allocations: 3.938 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2451, allocations: 0 / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2451, allocations: 0 / 0.9026 GB, free: 61.32 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.000473/0.2456, allocations: 418.9 kB / 0.903 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2457, allocations: 16.03 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.2457, allocations: 30.56 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.2458, allocations: 11.86 kB / 0.903 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.584e-05/0.2459, allocations: 167 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2459, allocations: 7.984 kB / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.2459, allocations: 0 / 0.9032 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.2461, allocations: 73.67 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2461, allocations: 0 / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2461, allocations: 0 / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2461, allocations: 4 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2463, allocations: 63.84 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.2467, allocations: 269 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2468, allocations: 66.55 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.2468, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.2468, allocations: 30.56 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.2468, allocations: 3.984 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004091/0.2472, allocations: 276.3 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2473, allocations: 81.14 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.767e-05/0.2474, allocations: 125.8 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2474, allocations: 29.7 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.2474, allocations: 84.14 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.2475, allocations: 19.77 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.2475, allocations: 3.938 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.2475, allocations: 314.8 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.2476, allocations: 55.97 kB / 0.9046 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.2477, allocations: 67.95 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2478, allocations: 115.4 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2478, allocations: 0 / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002303/0.2481, allocations: 220.9 kB / 0.905 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.2481, allocations: 67.39 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2481, allocations: 0 / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.2481, allocations: 0 / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.2482, allocations: 11.95 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2482, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.2483, allocations: 11.98 kB / 0.9051 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2483, allocations: 4 kB / 0.9051 GB, free: 58.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.571e-05/0.2484, allocations: 139.5 kB / 0.9052 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.2484, allocations: 11.89 kB / 0.9053 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.2485, allocations: 7.906 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2485, allocations: 4 kB / 0.9053 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2485, allocations: 3.953 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2485, allocations: 0 / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.2486, allocations: 169.6 kB / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2486, allocations: 0 / 0.9054 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.2487, allocations: 8.062 kB / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2487, allocations: 0 / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2487, allocations: 4 kB / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2487, allocations: 0 / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2487, allocations: 0 / 0.9054 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.2489, allocations: 265.1 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.249, allocations: 85.02 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.249, allocations: 0 / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.2491, allocations: 8 kB / 0.9058 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2492, allocations: 7.984 kB / 0.9058 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.2492, allocations: 8.031 kB / 0.9058 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.2493, allocations: 99.2 kB / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2493, allocations: 0 / 0.9059 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003182/0.2496, allocations: 67.94 kB / 0.906 GB, free: 57.44 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 (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.0005556/0.2501, allocations: 0.8312 MB / 0.9068 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.2504, allocations: 242.7 kB / 0.907 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2504, allocations: 0 / 0.907 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.2505, allocations: 103.4 kB / 0.9071 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.2507, allocations: 10.73 kB / 0.9071 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.2513, allocations: 402.5 kB / 0.9075 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2514, allocations: 0.6926 MB / 0.9082 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.2514, allocations: 0 / 0.9082 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.2514, allocations: 19.44 kB / 0.9082 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2515, allocations: 0 / 0.9082 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.2663, allocations: 2.521 MB / 0.9106 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/0.2665, allocations: 222.6 kB / 0.9109 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/1.781, allocations: 0 / 0.9109 GB, free: 52.47 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)