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.593/1.593, allocations: 252 MB / 267 MB, free: 10.96 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.001014/0.001014, allocations: 182.7 kB / 326.6 MB, free: 2.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.503/1.503, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008157/0.0008157, allocations: 95.77 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004072, allocations: 11 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2378, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001562/0.2394, allocations: 1.153 MB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.2406, allocations: 0.7813 MB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.2406, allocations: 4 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.2407, allocations: 3.938 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.2407, allocations: 0 / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.2414, allocations: 130.3 kB / 0.9023 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.2415, allocations: 35.91 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.2416, allocations: 4 kB / 0.9024 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2416, allocations: 11.98 kB / 0.9024 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.2417, allocations: 23.91 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.2417, allocations: 0 / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.242, allocations: 183.7 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.397e-05/0.242, allocations: 11.94 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.2421, allocations: 29.7 kB / 0.9026 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.2423, allocations: 127.8 kB / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2423, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2423, allocations: 0 / 0.9028 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.2423, allocations: 0 / 0.9028 GB, free: 61.26 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.0004017/0.2427, allocations: 422.9 kB / 0.9032 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2428, allocations: 12.03 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.894e-05/0.2428, allocations: 34.56 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.2428, allocations: 11.86 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.4e-05/0.2429, allocations: 174.9 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2429, allocations: 3.938 kB / 0.9034 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.243, allocations: 4 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.2431, allocations: 73.67 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.2431, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2431, allocations: 4 kB / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-06/0.2432, allocations: 0 / 0.9035 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2433, allocations: 59.91 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.2436, allocations: 269 kB / 0.9038 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.2437, allocations: 62.48 kB / 0.9038 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2439, allocations: 52.91 kB / 0.9039 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.2439, allocations: 3.938 kB / 0.9039 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.2439, allocations: 34.56 kB / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.2439, allocations: 0 / 0.9039 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003535/0.2443, allocations: 195.2 kB / 0.9041 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2443, allocations: 89.08 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.2444, allocations: 121.8 kB / 0.9043 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2444, allocations: 25.7 kB / 0.9043 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.2444, allocations: 88.14 kB / 0.9044 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.2445, allocations: 7.844 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.2445, allocations: 4 kB / 0.9044 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.2445, allocations: 318.8 kB / 0.9047 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.915e-05/0.2446, allocations: 59.97 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.2447, allocations: 59.97 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.2448, allocations: 115.4 kB / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2448, allocations: 0 / 0.905 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002414/0.2451, allocations: 220.9 kB / 0.9052 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.2451, allocations: 67.39 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2451, allocations: 0 / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2452, allocations: 7.953 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.703e-05/0.2452, allocations: 7.938 kB / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.2452, allocations: 0 / 0.9053 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.2453, allocations: 11.94 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.2453, allocations: 4 kB / 0.9053 GB, free: 58.4 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 7.825e-05/0.2454, allocations: 147.5 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.2454, allocations: 3.906 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.2455, allocations: 12.14 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2455, allocations: 3.984 kB / 0.9054 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2455, allocations: 3.953 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2455, allocations: 3.984 kB / 0.9054 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.2456, allocations: 173.7 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2456, allocations: 4 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.2456, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2457, allocations: 0 / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2457, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2457, allocations: 0 / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2457, allocations: 4 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.2459, allocations: 249.2 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.2459, allocations: 85.02 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.246, allocations: 7.922 kB / 0.9059 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.246, allocations: 8 kB / 0.9059 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.985e-05/0.2461, allocations: 8.016 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.2462, allocations: 8 kB / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.148e-05/0.2462, allocations: 103.2 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2462, allocations: 0 / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002922/0.2465, allocations: 56 kB / 0.9061 GB, free: 57.42 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.0005677/0.2471, allocations: 0.8312 MB / 0.9069 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.2474, allocations: 242.7 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2474, allocations: 0 / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2475, allocations: 115.3 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.2477, allocations: 11.11 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2487, allocations: 0.7252 MB / 0.908 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.2489, allocations: 0.6848 MB / 0.9087 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.2489, allocations: 0 / 0.9087 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.249, allocations: 15.42 kB / 0.9087 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.249, allocations: 0 / 0.9087 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.2623, allocations: 2.558 MB / 0.9112 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.2625, allocations: 233.3 kB / 0.9114 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.875, allocations: 0 / 0.9114 GB, free: 52.09 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)