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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 252 MB / 267.6 MB, free: 10.91 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.001194/0.001194, allocations: 182.7 kB / 327.3 MB, free: 2.195 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.897/1.897, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.000918/0.000918, allocations: 83.86 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005857/0.0005857, allocations: 9 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2474, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.00159/0.249, allocations: 1.153 MB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.2502, allocations: 0.789 MB / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.2502, allocations: 0 / 0.9027 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.2503, allocations: 3.984 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.686e-05/0.2504, allocations: 3.938 kB / 0.9027 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.2509, allocations: 129.7 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.2509, allocations: 35.92 kB / 0.9029 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.251, allocations: 11.97 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.2511, allocations: 8 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.765e-05/0.2511, allocations: 19.91 kB / 0.9029 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.2511, allocations: 4 kB / 0.9029 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.2514, allocations: 171.8 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.2514, allocations: 11.98 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.2515, allocations: 33.64 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.2516, allocations: 131.8 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2516, allocations: 4 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2516, allocations: 0 / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2516, allocations: 0 / 0.9033 GB, free: 61.36 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.0004086/0.2521, allocations: 426.8 kB / 0.9037 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2521, allocations: 8.031 kB / 0.9037 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.2521, allocations: 7.953 kB / 0.9037 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.2522, allocations: 174.9 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2523, allocations: 3.938 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.2523, allocations: 4 kB / 0.9039 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2525, allocations: 73.67 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2525, allocations: 0 / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2525, allocations: 4 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2525, allocations: 7.922 kB / 0.904 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.2526, allocations: 51.92 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.253, allocations: 280.9 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.2531, allocations: 58.56 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.2532, allocations: 48.91 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2532, allocations: 3.984 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2532, allocations: 38.5 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.2532, allocations: 0 / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003543/0.2536, allocations: 195.2 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2536, allocations: 81.11 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.147e-05/0.2537, allocations: 129.8 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.2537, allocations: 25.7 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.463e-05/0.2538, allocations: 96.16 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.2538, allocations: 3.906 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2538, allocations: 0 / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/0.2538, allocations: 322.8 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.2539, allocations: 51.97 kB / 0.9053 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.254, allocations: 63.95 kB / 0.9053 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.2541, allocations: 119.3 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2541, allocations: 4 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002294/0.2544, allocations: 220.9 kB / 0.9057 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.2544, allocations: 63.39 kB / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2544, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2545, allocations: 0 / 0.9057 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.2545, allocations: 7.953 kB / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.2545, allocations: 0 / 0.9057 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.2546, allocations: 23.98 kB / 0.9058 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2546, allocations: 7.938 kB / 0.9058 GB, free: 58.53 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.989e-05/0.2547, allocations: 143.5 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2547, allocations: 3.906 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.2547, allocations: 15.89 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2547, allocations: 0 / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2548, allocations: 3.953 kB / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2548, allocations: 0 / 0.9059 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.2549, allocations: 165.6 kB / 0.9061 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2549, allocations: 4 kB / 0.9061 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.2549, allocations: 7.938 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2549, allocations: 4 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.255, allocations: 4 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.255, allocations: 0 / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.255, allocations: 0 / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.2552, allocations: 253.2 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.2552, allocations: 85 kB / 0.9064 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2553, allocations: 0 / 0.9064 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.2553, allocations: 11.94 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2554, allocations: 7.984 kB / 0.9064 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.2554, allocations: 4 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.825e-05/0.2555, allocations: 95.27 kB / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2555, allocations: 0 / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002766/0.2558, allocations: 63.98 kB / 0.9066 GB, free: 57.57 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.0002347/0.256, allocations: 147.2 kB / 0.9067 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2563, allocations: 246.7 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2563, allocations: 0 / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2564, allocations: 103.4 kB / 0.9071 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.2566, allocations: 15.06 kB / 0.9071 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.257, allocations: 202.3 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2571, allocations: 0.6887 MB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.398e-05/0.2571, allocations: 7.438 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2571, allocations: 0 / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of Templates: time 0.002806/0.2599, allocations: 1.492 MB / 0.9094 GB, free: 54.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)