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.00158/0.00158, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001721/0.001721, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.306/1.306, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7574/0.7574, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3133, allocations: 77.92 MB / 0.5667 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002513/0.3159, allocations: 1.466 MB / 0.5682 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.317, allocations: 0.7835 MB / 0.5689 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.3171, allocations: 0 / 0.5689 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.672e-05/0.3172, allocations: 5.922 kB / 0.569 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.3172, allocations: 2.891 kB / 0.569 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.3179, allocations: 149.6 kB / 0.5691 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.318, allocations: 52.7 kB / 0.5691 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.3181, allocations: 9.109 kB / 0.5692 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.3181, allocations: 19.17 kB / 0.5692 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.3182, allocations: 22.44 kB / 0.5692 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3182, allocations: 4.875 kB / 0.5692 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.3185, allocations: 192.7 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.3186, allocations: 10.69 kB / 0.5694 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3186, allocations: 22.39 kB / 0.5694 GB, free: 31.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.3189, allocations: 187.3 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.319, allocations: 0.6875 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.319, allocations: 1.062 kB / 0.5696 GB, free: 30.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.319, allocations: 0.8125 kB / 0.5696 GB, free: 30.96 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.0003972/0.3194, allocations: 439.5 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.3194, allocations: 11.06 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.3194, allocations: 3.125 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.312e-05/0.3195, allocations: 181.8 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3195, allocations: 1.406 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.3196, allocations: 4.906 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3197, allocations: 77.34 kB / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3198, allocations: 0 / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3198, allocations: 2.438 kB / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3198, allocations: 0 / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3199, allocations: 51.09 kB / 0.5703 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.3202, allocations: 275.2 kB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.3204, allocations: 66.59 kB / 0.5707 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.3205, allocations: 45.55 kB / 0.5707 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.3205, allocations: 1.188 kB / 0.5707 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.3205, allocations: 32.84 kB / 0.5707 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3205, allocations: 1 kB / 0.5707 GB, free: 29.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000354/0.3209, allocations: 184 kB / 0.5709 GB, free: 29.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.3209, allocations: 84.72 kB / 0.571 GB, free: 29.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.321, allocations: 129.6 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.321, allocations: 27.11 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.886e-05/0.321, allocations: 89.23 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.3211, allocations: 10.53 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3211, allocations: 24.28 kB / 0.5713 GB, free: 29.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.3211, allocations: 317.8 kB / 0.5716 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.3213, allocations: 58.05 kB / 0.5716 GB, free: 29.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.3214, allocations: 59.22 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3216, allocations: 197.6 kB / 0.5719 GB, free: 28.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3216, allocations: 1.812 kB / 0.5719 GB, free: 28.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002629/0.3218, allocations: 218.3 kB / 0.5721 GB, free: 28.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.3219, allocations: 68.52 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3219, allocations: 0.9688 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3219, allocations: 0 / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.322, allocations: 6.797 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.322, allocations: 0.5781 kB / 0.5721 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.322, allocations: 14.55 kB / 0.5722 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.322, allocations: 2.344 kB / 0.5722 GB, free: 28.75 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.802e-05/0.3221, allocations: 152.1 kB / 0.5723 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.3222, allocations: 6.469 kB / 0.5723 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.3222, allocations: 6.984 kB / 0.5723 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3222, allocations: 0.9375 kB / 0.5723 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3222, allocations: 1.984 kB / 0.5723 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-06/0.3222, allocations: 2.438 kB / 0.5723 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3223, allocations: 174 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3223, allocations: 0.7031 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.3224, allocations: 3.484 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3224, allocations: 2.047 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3224, allocations: 1.094 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3224, allocations: 0 / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3224, allocations: 3.031 kB / 0.5725 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.3226, allocations: 256.3 kB / 0.5727 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3227, allocations: 80.34 kB / 0.5728 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3227, allocations: 3.766 kB / 0.5728 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.3228, allocations: 6 kB / 0.5728 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.3229, allocations: 8.484 kB / 0.5728 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3229, allocations: 1.859 kB / 0.5728 GB, free: 28.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.311e-05/0.3229, allocations: 100.7 kB / 0.5729 GB, free: 28.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3229, allocations: 0 / 0.5729 GB, free: 28.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3233, allocations: 54.62 kB / 0.573 GB, free: 28.02 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.000249/0.3236, allocations: 153 kB / 0.5731 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.3239, allocations: 240.4 kB / 0.5734 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3239, allocations: 5.094 kB / 0.5734 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.324, allocations: 108.2 kB / 0.5735 GB, free: 27.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3242, allocations: 11.22 kB / 0.5735 GB, free: 27.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.3245, allocations: 185.9 kB / 0.5737 GB, free: 27.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3247, allocations: 0.686 MB / 0.5743 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.427e-05/0.3247, allocations: 2.938 kB / 0.5743 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.315e-05/0.3247, allocations: 8.531 kB / 0.5743 GB, free: 26.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3247, allocations: 0 / 0.5743 GB, free: 26.83 MB / 446.1 MB Notification: Performance of Templates: time 0.004449/0.3292, allocations: 1.697 MB / 0.576 GB, free: 26.76 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)