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.001268/0.001267, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001306/0.001306, 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7826/0.7826, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.389, allocations: 80.18 MB / 0.5815 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002883/0.3919, allocations: 1.411 MB / 0.5829 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3933, allocations: 0.7966 MB / 0.5837 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.3933, allocations: 1.188 kB / 0.5837 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.048e-05/0.3934, allocations: 9.312 kB / 0.5837 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.3935, allocations: 1.5 kB / 0.5837 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.3941, allocations: 167.6 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3943, allocations: 45.83 kB / 0.5839 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.3944, allocations: 12.06 kB / 0.5839 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3944, allocations: 14.69 kB / 0.5839 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.3945, allocations: 21.91 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3945, allocations: 5.188 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.3948, allocations: 199.8 kB / 0.5841 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.3949, allocations: 15.75 kB / 0.5841 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3949, allocations: 17.28 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.3952, allocations: 199.8 kB / 0.5843 GB, free: 25.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3952, allocations: 2.344 kB / 0.5843 GB, free: 25.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3952, allocations: 0 / 0.5843 GB, free: 25.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3952, allocations: 1.062 kB / 0.5844 GB, free: 25.35 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.0004551/0.3957, allocations: 429.5 kB / 0.5848 GB, free: 24.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3957, allocations: 9.656 kB / 0.5848 GB, free: 24.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3958, allocations: 13.42 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.261e-05/0.3959, allocations: 167.2 kB / 0.5849 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3959, allocations: 1.906 kB / 0.5849 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3959, allocations: 6.438 kB / 0.5849 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.3961, allocations: 79.72 kB / 0.585 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.3961, allocations: 0 / 0.585 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3962, allocations: 1.344 kB / 0.585 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3962, allocations: 4 kB / 0.585 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.3963, allocations: 50 kB / 0.5851 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3967, allocations: 280.9 kB / 0.5853 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3968, allocations: 64.17 kB / 0.5854 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3969, allocations: 42.14 kB / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.3969, allocations: 1.312 kB / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3969, allocations: 34.55 kB / 0.5855 GB, free: 24.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.3969, allocations: 2.031 kB / 0.5855 GB, free: 24.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003626/0.3973, allocations: 185.5 kB / 0.5857 GB, free: 24.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.3973, allocations: 78.48 kB / 0.5857 GB, free: 24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.3974, allocations: 125.2 kB / 0.5859 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.3975, allocations: 27.08 kB / 0.5859 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.3975, allocations: 93.52 kB / 0.586 GB, free: 23.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3975, allocations: 10.08 kB / 0.586 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.3976, allocations: 22.59 kB / 0.586 GB, free: 23.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.3976, allocations: 320.1 kB / 0.5863 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.3977, allocations: 60.17 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.477e-05/0.3978, allocations: 53.78 kB / 0.5864 GB, free: 23.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.398, allocations: 198.4 kB / 0.5866 GB, free: 23.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.398, allocations: 1.875 kB / 0.5866 GB, free: 23.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002522/0.3983, allocations: 216.4 kB / 0.5868 GB, free: 23.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.3983, allocations: 60.56 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3983, allocations: 0 / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3984, allocations: 2.875 kB / 0.5869 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.3984, allocations: 5.359 kB / 0.5869 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3984, allocations: 1.406 kB / 0.5869 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.3985, allocations: 12.69 kB / 0.5869 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3985, allocations: 3.094 kB / 0.5869 GB, free: 23 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 8.033e-05/0.3986, allocations: 152.3 kB / 0.587 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3986, allocations: 2.438 kB / 0.587 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.3987, allocations: 11.95 kB / 0.5871 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3987, allocations: 3.984 kB / 0.5871 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3987, allocations: 0 / 0.5871 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3987, allocations: 1.875 kB / 0.5871 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3988, allocations: 173.8 kB / 0.5872 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3988, allocations: 6.844 kB / 0.5872 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.3989, allocations: 6.406 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3989, allocations: 9.047 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3989, allocations: 1.188 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3989, allocations: 1.094 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3989, allocations: 0.75 kB / 0.5872 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3992, allocations: 248.2 kB / 0.5875 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.3992, allocations: 83.05 kB / 0.5876 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.3992, allocations: 6.844 kB / 0.5876 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.506e-05/0.3993, allocations: 7.297 kB / 0.5876 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.3994, allocations: 5.531 kB / 0.5876 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3994, allocations: 0.9688 kB / 0.5876 GB, free: 22.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.247e-05/0.3995, allocations: 101.5 kB / 0.5877 GB, free: 22.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3995, allocations: 1.5 kB / 0.5877 GB, free: 22.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3998, allocations: 59.11 kB / 0.5877 GB, free: 22.2 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.0002688/0.4001, allocations: 151.4 kB / 0.5879 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.4004, allocations: 240.6 kB / 0.5881 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4004, allocations: 0 / 0.5881 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.4005, allocations: 103.7 kB / 0.5882 GB, free: 21.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4008, allocations: 11 kB / 0.5882 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.4011, allocations: 174.2 kB / 0.5884 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.4012, allocations: 0.6894 MB / 0.5891 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.4013, allocations: 1.125 kB / 0.5891 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.4013, allocations: 8.562 kB / 0.5891 GB, free: 20.97 MB / 446.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4013, allocations: 0 / 0.5891 GB, free: 20.97 MB / 446.1 MB Notification: Performance of Templates: time 0.004257/0.4055, allocations: 1.751 MB / 0.5908 GB, free: 20.17 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)