Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001116/0.001116, allocations: 109.5 kB / 17.04 MB, free: 6.074 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.001109/0.00111, allocations: 196 kB / 17.98 MB, free: 5.16 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3017, allocations: 76.15 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002243/0.304, allocations: 1.4 MB / 0.559 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.305, allocations: 0.775 MB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.3051, allocations: 1.25 kB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.3051, allocations: 4.562 kB / 0.5597 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.3052, allocations: 11.27 kB / 0.5597 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005714/0.3058, allocations: 171.2 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.3059, allocations: 42.95 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.3059, allocations: 13.55 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.306, allocations: 14.55 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.306, allocations: 19.12 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.306, allocations: 4.062 kB / 0.56 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.3064, allocations: 200.8 kB / 0.5602 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.902e-05/0.3064, allocations: 11.77 kB / 0.5602 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.3065, allocations: 18.08 kB / 0.5602 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.3067, allocations: 190.1 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3067, allocations: 3.938 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3068, allocations: 2.438 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3068, allocations: 0 / 0.5604 GB, free: 34.91 MB / 446.1 MB 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.0003685/0.3071, allocations: 433.9 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.3072, allocations: 9.781 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.3072, allocations: 3.094 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.955e-05/0.3073, allocations: 183.1 kB / 0.561 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3073, allocations: 5.688 kB / 0.561 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.3073, allocations: 4 kB / 0.561 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.3075, allocations: 76.91 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3075, allocations: 1.125 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3075, allocations: 2.734 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3075, allocations: 0 / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3076, allocations: 47.77 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.308, allocations: 278 kB / 0.5614 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3081, allocations: 62.02 kB / 0.5614 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/0.3082, allocations: 50.75 kB / 0.5615 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3082, allocations: 0.7969 kB / 0.5615 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3082, allocations: 32.28 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.3082, allocations: 2.125 kB / 0.5615 GB, free: 33.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003466/0.3086, allocations: 187.2 kB / 0.5617 GB, free: 33.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.3086, allocations: 86.98 kB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.3087, allocations: 122.5 kB / 0.5619 GB, free: 33.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3087, allocations: 29.7 kB / 0.5619 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.3087, allocations: 83.89 kB / 0.562 GB, free: 33.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.3087, allocations: 15.61 kB / 0.562 GB, free: 33.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.3088, allocations: 19.11 kB / 0.562 GB, free: 33.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.3088, allocations: 318.4 kB / 0.5624 GB, free: 33.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.3089, allocations: 58.91 kB / 0.5624 GB, free: 33.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.791e-05/0.309, allocations: 60.05 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.3092, allocations: 197.5 kB / 0.5627 GB, free: 32.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3092, allocations: 0 / 0.5627 GB, free: 32.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002505/0.3095, allocations: 221.7 kB / 0.5629 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.3095, allocations: 67.45 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3096, allocations: 1.344 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3096, allocations: 0 / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.3096, allocations: 5.484 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3096, allocations: 1.438 kB / 0.5629 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.3097, allocations: 10.45 kB / 0.5629 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3097, allocations: 3.375 kB / 0.563 GB, free: 32.71 MB / 446.1 MB 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 6.681e-05/0.3098, allocations: 151 kB / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.3098, allocations: 7.078 kB / 0.5631 GB, free: 32.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.3098, allocations: 6.125 kB / 0.5631 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3098, allocations: 2.594 kB / 0.5631 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.3099, allocations: 0.75 kB / 0.5631 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3099, allocations: 3.906 kB / 0.5631 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.31, allocations: 173.3 kB / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.31, allocations: 1.062 kB / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.31, allocations: 3.891 kB / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.31, allocations: 0 / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3101, allocations: 3.203 kB / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3101, allocations: 0 / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3101, allocations: 1.594 kB / 0.5633 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.3103, allocations: 258.1 kB / 0.5635 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3103, allocations: 83.81 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3104, allocations: 2.156 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3104, allocations: 9.531 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3105, allocations: 6.062 kB / 0.5636 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.3106, allocations: 5.344 kB / 0.5636 GB, free: 32.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.3106, allocations: 100.7 kB / 0.5637 GB, free: 31.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3106, allocations: 0 / 0.5637 GB, free: 31.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003459/0.311, allocations: 55.88 kB / 0.5638 GB, free: 31.97 MB / 446.1 MB 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.0002241/0.3112, allocations: 150.8 kB / 0.5639 GB, free: 31.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.3115, allocations: 242.9 kB / 0.5642 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3115, allocations: 0.9062 kB / 0.5642 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3116, allocations: 103.2 kB / 0.5643 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.3118, allocations: 14.47 kB / 0.5643 GB, free: 31.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000301/0.3121, allocations: 179.3 kB / 0.5644 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.3123, allocations: 0.6852 MB / 0.5651 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.418e-05/0.3123, allocations: 0 / 0.5651 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.38e-05/0.3123, allocations: 9.656 kB / 0.5651 GB, free: 30.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3123, allocations: 0.7188 kB / 0.5651 GB, free: 30.8 MB / 446.1 MB Notification: Performance of Templates: time 0.004273/0.3166, allocations: 1.749 MB / 0.5668 GB, free: 30.75 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)