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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 189.2 kB / 16.64 MB, free: 5.141 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4615/0.4615, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 110.2 kB / 420 MB, free: 8.508 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 51.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2958, allocations: 70.07 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002413/0.2982, allocations: 1.468 MB / 0.5589 GB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2993, allocations: 0.807 MB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.2994, allocations: 3.938 kB / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.088e-05/0.2995, allocations: 0 / 0.5597 GB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.634e-05/0.2995, allocations: 4 kB / 0.5597 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.3, allocations: 132.2 kB / 0.5599 GB, free: 42.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.3001, allocations: 35.91 kB / 0.5599 GB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.3002, allocations: 8 kB / 0.5599 GB, free: 42.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.3002, allocations: 11.98 kB / 0.5599 GB, free: 42.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.3003, allocations: 18.83 kB / 0.5599 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3003, allocations: 4 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.3006, allocations: 195.7 kB / 0.5601 GB, free: 42.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.3006, allocations: 11.94 kB / 0.5601 GB, free: 42.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.3007, allocations: 15.92 kB / 0.5602 GB, free: 42.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3009, allocations: 183.6 kB / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3009, allocations: 0 / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.3009, allocations: 0 / 0.5603 GB, free: 42.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3009, allocations: 4 kB / 0.5603 GB, free: 42.32 MB / 410.7 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.0004424/0.3014, allocations: 436.8 kB / 0.5608 GB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3014, allocations: 8.031 kB / 0.5608 GB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.912e-05/0.3015, allocations: 12.84 kB / 0.5608 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.946e-05/0.3015, allocations: 168.4 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3016, allocations: 384 / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3016, allocations: 4.375 kB / 0.5609 GB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3017, allocations: 77.97 kB / 0.561 GB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3018, allocations: 4 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3018, allocations: 3.984 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3018, allocations: 0 / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.3019, allocations: 51.97 kB / 0.5611 GB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.3022, allocations: 284.7 kB / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.3023, allocations: 58.56 kB / 0.5614 GB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.3024, allocations: 48.91 kB / 0.5614 GB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.3024, allocations: 7.875 kB / 0.5614 GB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3024, allocations: 34.56 kB / 0.5615 GB, free: 40.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3024, allocations: 0 / 0.5615 GB, free: 40.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003077/0.3028, allocations: 183.2 kB / 0.5617 GB, free: 40.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.3028, allocations: 81.11 kB / 0.5617 GB, free: 40.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.3029, allocations: 129.9 kB / 0.5619 GB, free: 40.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.3029, allocations: 25.7 kB / 0.5619 GB, free: 40.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.3029, allocations: 92.05 kB / 0.562 GB, free: 40.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.3029, allocations: 7.891 kB / 0.562 GB, free: 40.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.303, allocations: 29.7 kB / 0.562 GB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.303, allocations: 310.8 kB / 0.5623 GB, free: 40.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.3031, allocations: 59.95 kB / 0.5624 GB, free: 40.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.3032, allocations: 59.97 kB / 0.5624 GB, free: 39.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3033, allocations: 197.8 kB / 0.5626 GB, free: 39.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3034, allocations: 0 / 0.5626 GB, free: 39.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002048/0.3036, allocations: 217 kB / 0.5628 GB, free: 39.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.3036, allocations: 67.39 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3036, allocations: 0 / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3036, allocations: 0 / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.3037, allocations: 4 kB / 0.5629 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3037, allocations: 0 / 0.5629 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.3038, allocations: 19.83 kB / 0.5629 GB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3038, allocations: 4 kB / 0.5629 GB, free: 39.4 MB / 410.7 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.644e-05/0.3039, allocations: 151.5 kB / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3039, allocations: 0 / 0.563 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.3039, allocations: 7.906 kB / 0.5631 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3039, allocations: 0 / 0.5631 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3039, allocations: 0 / 0.5631 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3039, allocations: 0 / 0.5631 GB, free: 39.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.3041, allocations: 173.6 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3041, allocations: 0 / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.494e-05/0.3041, allocations: 8 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3041, allocations: 4 kB / 0.5632 GB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3041, allocations: 8 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3041, allocations: 3.984 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3041, allocations: 3.938 kB / 0.5632 GB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.3045, allocations: 0.8544 MB / 0.5641 GB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3046, allocations: 81.25 kB / 0.5642 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3046, allocations: 4 kB / 0.5642 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.3047, allocations: 7.984 kB / 0.5642 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3048, allocations: 7.922 kB / 0.5642 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3048, allocations: 8 kB / 0.5642 GB, free: 37.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.3048, allocations: 103.6 kB / 0.5643 GB, free: 37.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3048, allocations: 0 / 0.5643 GB, free: 37.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.3052, allocations: 59.98 kB / 0.5643 GB, free: 37.77 MB / 410.7 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.0002076/0.3054, allocations: 155.2 kB / 0.5645 GB, free: 37.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.3057, allocations: 238.7 kB / 0.5647 GB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3057, allocations: 0 / 0.5647 GB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3058, allocations: 103.4 kB / 0.5648 GB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.306, allocations: 3.938 kB / 0.5648 GB, free: 37.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.3063, allocations: 293.9 kB / 0.5651 GB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.3064, allocations: 0.6887 MB / 0.5658 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.521e-05/0.3064, allocations: 0 / 0.5658 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.085e-05/0.3064, allocations: 7.438 kB / 0.5658 GB, free: 36.19 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3065, allocations: 0 / 0.5658 GB, free: 36.19 MB / 410.7 MB Notification: Performance of Templates: time 0.003157/0.3096, allocations: 1.674 MB / 0.5674 GB, free: 34.53 MB / 410.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)