Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001262/0.001262, allocations: 107.5 kB / 16.37 MB, free: 6.48 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.001071/0.001071, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8024/0.8024, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 0.5068 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 80.9 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002329/0.3322, allocations: 1.417 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.3332, allocations: 0.7823 MB / 0.5879 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.67e-05/0.3332, allocations: 1.688 kB / 0.5879 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.3333, allocations: 4.438 kB / 0.5879 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.3333, allocations: 6.688 kB / 0.5879 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.3339, allocations: 171.3 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.474e-05/0.334, allocations: 48.75 kB / 0.5882 GB, free: 23.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.3341, allocations: 7.938 kB / 0.5882 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.062e-05/0.3341, allocations: 15.92 kB / 0.5882 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.3341, allocations: 16.73 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.3342, allocations: 4.375 kB / 0.5882 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000269/0.3344, allocations: 208.8 kB / 0.5884 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3345, allocations: 8.031 kB / 0.5884 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3345, allocations: 20.2 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3347, allocations: 199.9 kB / 0.5886 GB, free: 23.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3347, allocations: 1.406 kB / 0.5886 GB, free: 23.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3347, allocations: 0.7188 kB / 0.5886 GB, free: 23.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3348, allocations: 0 / 0.5886 GB, free: 23.44 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.0003532/0.3351, allocations: 430.8 kB / 0.589 GB, free: 22.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3352, allocations: 10.02 kB / 0.589 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3352, allocations: 8.688 kB / 0.589 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.775e-05/0.3353, allocations: 171.9 kB / 0.5892 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3353, allocations: 1.5 kB / 0.5892 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3353, allocations: 8 kB / 0.5892 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3355, allocations: 76.17 kB / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3355, allocations: 0 / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.3355, allocations: 0 / 0.5893 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3355, allocations: 9.031 kB / 0.5893 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3356, allocations: 57.38 kB / 0.5894 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.3359, allocations: 277.9 kB / 0.5896 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.336, allocations: 56.23 kB / 0.5897 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.3361, allocations: 51.22 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.3361, allocations: 2.969 kB / 0.5897 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.3361, allocations: 30.56 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.3361, allocations: 1.812 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003368/0.3365, allocations: 192.7 kB / 0.5899 GB, free: 22.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3365, allocations: 77.11 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.3366, allocations: 121.8 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3366, allocations: 31.14 kB / 0.5902 GB, free: 21.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.843e-05/0.3367, allocations: 88.05 kB / 0.5902 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.3367, allocations: 11.89 kB / 0.5903 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3367, allocations: 27.58 kB / 0.5903 GB, free: 21.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.738e-05/0.3368, allocations: 318.8 kB / 0.5906 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.3368, allocations: 55.97 kB / 0.5906 GB, free: 21.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.3369, allocations: 56.86 kB / 0.5907 GB, free: 21.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3371, allocations: 198.5 kB / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3371, allocations: 0 / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001994/0.3373, allocations: 213.7 kB / 0.5911 GB, free: 20.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.3373, allocations: 65.33 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3373, allocations: 3.984 kB / 0.5911 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3374, allocations: 4 kB / 0.5912 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.3374, allocations: 0 / 0.5912 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3374, allocations: 0 / 0.5912 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.3375, allocations: 20.61 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3375, allocations: 0.9688 kB / 0.5912 GB, free: 20.79 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.26e-05/0.3376, allocations: 149 kB / 0.5913 GB, free: 20.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3376, allocations: 7.984 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.3376, allocations: 7.906 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3376, allocations: 0 / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3376, allocations: 4.969 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3376, allocations: 0 / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3377, allocations: 173.6 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3377, allocations: 3.438 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.3378, allocations: 11.94 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3378, allocations: 4 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.3378, allocations: 0 / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3378, allocations: 0 / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3378, allocations: 0 / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.338, allocations: 253.6 kB / 0.5918 GB, free: 20.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.338, allocations: 85.55 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3381, allocations: 4 kB / 0.5918 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.3381, allocations: 4.656 kB / 0.5919 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.3382, allocations: 5.734 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3382, allocations: 4 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.3383, allocations: 99.27 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3383, allocations: 0 / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.3385, allocations: 57.36 kB / 0.592 GB, free: 19.84 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.000203/0.3388, allocations: 152.7 kB / 0.5922 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.339, allocations: 242.7 kB / 0.5924 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.339, allocations: 0 / 0.5924 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.3391, allocations: 104.6 kB / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.3393, allocations: 7.953 kB / 0.5925 GB, free: 19.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.3396, allocations: 172.2 kB / 0.5927 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.3397, allocations: 0.6888 MB / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.3397, allocations: 0 / 0.5933 GB, free: 18.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.119e-05/0.3398, allocations: 7.438 kB / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3398, allocations: 0 / 0.5933 GB, free: 18.38 MB / 446.1 MB Notification: Performance of Templates: time 0.003482/0.3433, allocations: 1.746 MB / 0.595 GB, free: 16.73 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)