Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001292/0.001292, allocations: 112.6 kB / 16.37 MB, free: 6 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.001291/0.001291, allocations: 196 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3568, allocations: 80.19 MB / 0.5815 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002555/0.3594, allocations: 1.416 MB / 0.5829 GB, free: 26.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3605, allocations: 0.7885 MB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.3606, allocations: 2.031 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.198e-05/0.3606, allocations: 7.922 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.3607, allocations: 6.281 kB / 0.5837 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006673/0.3614, allocations: 168 kB / 0.5838 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.3615, allocations: 50.75 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.3616, allocations: 4.25 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.3617, allocations: 22.45 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.3617, allocations: 22.16 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3618, allocations: 3.906 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3621, allocations: 203.3 kB / 0.5841 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.3622, allocations: 8.969 kB / 0.5841 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.3622, allocations: 20.42 kB / 0.5842 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.3626, allocations: 195.9 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3626, allocations: 1.312 kB / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3626, allocations: 0 / 0.5843 GB, free: 25.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.3626, allocations: 0.9375 kB / 0.5843 GB, free: 25.39 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.0005194/0.3631, allocations: 432.1 kB / 0.5848 GB, free: 24.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3632, allocations: 9.469 kB / 0.5848 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.3632, allocations: 6.906 kB / 0.5848 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.3633, allocations: 175.1 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3634, allocations: 2.594 kB / 0.5849 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3634, allocations: 8.75 kB / 0.585 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3636, allocations: 80.59 kB / 0.585 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3636, allocations: 0 / 0.585 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3636, allocations: 0 / 0.585 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3636, allocations: 0 / 0.585 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3637, allocations: 45.19 kB / 0.5851 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.3641, allocations: 280.4 kB / 0.5853 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3642, allocations: 66.39 kB / 0.5854 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.3643, allocations: 46.16 kB / 0.5854 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.3643, allocations: 0.5938 kB / 0.5854 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3643, allocations: 32.22 kB / 0.5855 GB, free: 24.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3643, allocations: 2.719 kB / 0.5855 GB, free: 24.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003759/0.3647, allocations: 189.3 kB / 0.5857 GB, free: 24.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3648, allocations: 78.83 kB / 0.5857 GB, free: 24.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.3649, allocations: 124.7 kB / 0.5859 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3649, allocations: 27.05 kB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.3649, allocations: 89.95 kB / 0.586 GB, free: 23.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.3649, allocations: 6.188 kB / 0.586 GB, free: 23.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.365, allocations: 21.91 kB / 0.586 GB, free: 23.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.365, allocations: 325.1 kB / 0.5863 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3651, allocations: 52.91 kB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.3652, allocations: 61.55 kB / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3655, allocations: 198.4 kB / 0.5866 GB, free: 23.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3655, allocations: 0 / 0.5866 GB, free: 23.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002687/0.3657, allocations: 217.3 kB / 0.5868 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/0.3658, allocations: 64.98 kB / 0.5869 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3658, allocations: 3.938 kB / 0.5869 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3658, allocations: 0.5938 kB / 0.5869 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.3659, allocations: 3.531 kB / 0.5869 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3659, allocations: 0.5312 kB / 0.5869 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.366, allocations: 18.55 kB / 0.5869 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.366, allocations: 2.438 kB / 0.5869 GB, free: 23.04 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 7.767e-05/0.3661, allocations: 147.7 kB / 0.587 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.3661, allocations: 4.375 kB / 0.587 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.3661, allocations: 14.14 kB / 0.5871 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3661, allocations: 0 / 0.5871 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3661, allocations: 1.328 kB / 0.5871 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3662, allocations: 0 / 0.5871 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.3663, allocations: 176.8 kB / 0.5872 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3663, allocations: 7.922 kB / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.3663, allocations: 2.656 kB / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3663, allocations: 1.594 kB / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3664, allocations: 2.812 kB / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3664, allocations: 0 / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3664, allocations: 0 / 0.5872 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.3666, allocations: 253.5 kB / 0.5875 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.3666, allocations: 86.53 kB / 0.5876 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.3667, allocations: 6.875 kB / 0.5876 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.3667, allocations: 2.875 kB / 0.5876 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3668, allocations: 7.891 kB / 0.5876 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3669, allocations: 1.875 kB / 0.5876 GB, free: 22.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.3669, allocations: 98.84 kB / 0.5877 GB, free: 22.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3669, allocations: 0 / 0.5877 GB, free: 22.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003584/0.3673, allocations: 56.81 kB / 0.5877 GB, free: 22.25 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.00026/0.3675, allocations: 159.3 kB / 0.5879 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.3678, allocations: 232.7 kB / 0.5881 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3678, allocations: 0 / 0.5881 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.368, allocations: 111.2 kB / 0.5882 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3682, allocations: 4.281 kB / 0.5882 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.3685, allocations: 172 kB / 0.5884 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3687, allocations: 0.6892 MB / 0.5891 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.765e-05/0.3687, allocations: 3.094 kB / 0.5891 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.3687, allocations: 8.469 kB / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3687, allocations: 0 / 0.5891 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Templates: time 0.004543/0.3733, allocations: 1.762 MB / 0.5908 GB, free: 20.21 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)