Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000789/0.0007891, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004842/0.004842, allocations: 170.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.805/2.805, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003418, allocations: 12.7 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001483/0.3005, allocations: 1.166 MB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.3018, allocations: 0.8066 MB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.3018, allocations: 4 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.631e-05/0.3018, allocations: 3.984 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.3019, allocations: 3.938 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.3024, allocations: 127.8 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.3025, allocations: 35.98 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.3026, allocations: 7.969 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.3026, allocations: 15.94 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.3027, allocations: 15.92 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3027, allocations: 4 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.303, allocations: 195.7 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.097e-05/0.3031, allocations: 11.98 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.936e-05/0.3031, allocations: 45.56 kB / 1.077 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.3034, allocations: 179.6 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.3034, allocations: 0 / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3034, allocations: 0 / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.3034, allocations: 0 / 1.077 GB, free: 4.914 MB / 0.8262 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.0004662/0.3039, allocations: 423.1 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3039, allocations: 8.031 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.304, allocations: 12.84 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3041, allocations: 172.2 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3041, allocations: 384 / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3041, allocations: 8.359 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.3043, allocations: 89.86 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.3043, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3044, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.3044, allocations: 0 / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.3045, allocations: 55.95 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.3049, allocations: 272.9 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.305, allocations: 58.55 kB / 1.078 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3051, allocations: 56.84 kB / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.3051, allocations: 0 / 1.078 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3052, allocations: 38.56 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.635e-06/0.3052, allocations: 3.984 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0003964/0.3056, allocations: 187.3 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.3056, allocations: 81.14 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3057, allocations: 125.7 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3058, allocations: 29.7 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.3058, allocations: 88.08 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.3058, allocations: 11.84 kB / 1.078 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.3059, allocations: 13.72 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.306, allocations: 318.8 kB / 1.079 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3061, allocations: 59.91 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.3062, allocations: 67.95 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.3065, allocations: 201.8 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3065, allocations: 0 / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002922/0.3068, allocations: 220.9 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.875e-05/0.3068, allocations: 64.8 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3069, allocations: 4 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.3069, allocations: 0 / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.708e-05/0.3069, allocations: 4 kB / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3069, allocations: 0 / 1.079 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.307, allocations: 8 kB / 1.079 GB, free: 1.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.307, allocations: 4 kB / 1.079 GB, free: 1.992 MB / 0.8262 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 9.97e-05/0.3071, allocations: 151.4 kB / 1.079 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.3072, allocations: 7.938 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3072, allocations: 19.89 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3072, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3072, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3072, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3074, allocations: 173.5 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3074, allocations: 4.062 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.3074, allocations: 4 kB / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3074, allocations: 0 / 1.08 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.3075, allocations: 8 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3075, allocations: 0 / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3075, allocations: 4 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.3078, allocations: 245.1 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3078, allocations: 85.02 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3078, allocations: 3.984 kB / 1.08 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.3079, allocations: 8 kB / 1.08 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.308, allocations: 15.95 kB / 1.08 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.308, allocations: 4 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.675e-05/0.3081, allocations: 99.64 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3081, allocations: 0 / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000319/0.3084, allocations: 60 kB / 1.08 GB, free: 1.004 MB / 0.8262 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.0002592/0.3087, allocations: 147.2 kB / 1.08 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.309, allocations: 246.7 kB / 1.08 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.309, allocations: 0 / 1.08 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3092, allocations: 103.4 kB / 1.081 GB, free: 484 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3094, allocations: 15.86 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.3098, allocations: 188.6 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.31, allocations: 0.6848 MB / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.3101, allocations: 0 / 1.081 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.3101, allocations: 7.438 kB / 1.081 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3101, allocations: 0 / 1.081 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of Templates: time 0.004463/0.3146, allocations: 1.645 MB / 1.083 GB, free: 13.92 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)