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.001515/0.001515, allocations: 106 kB / 16.27 MB, free: 6.41 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.001513/0.001513, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8017/0.8017, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.89 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3208, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002577/0.3234, allocations: 1.418 MB / 0.5865 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3245, allocations: 0.7833 MB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.3246, allocations: 0 / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.3246, allocations: 5.062 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.3247, allocations: 3.031 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.3254, allocations: 172.8 kB / 0.5874 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.3255, allocations: 55.78 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.504e-05/0.3256, allocations: 2.781 kB / 0.5874 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.3256, allocations: 22.94 kB / 0.5875 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.3257, allocations: 18.7 kB / 0.5875 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.3257, allocations: 3.656 kB / 0.5875 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.326, allocations: 194.8 kB / 0.5877 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.3261, allocations: 9.391 kB / 0.5877 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.3261, allocations: 24.64 kB / 0.5877 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.3264, allocations: 191.2 kB / 0.5879 GB, free: 23.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3264, allocations: 1.625 kB / 0.5879 GB, free: 23.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3264, allocations: 1.25 kB / 0.5879 GB, free: 23.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3264, allocations: 7.922 kB / 0.5879 GB, free: 23.13 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.0004251/0.3268, allocations: 430.8 kB / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3269, allocations: 10.11 kB / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.3269, allocations: 11.12 kB / 0.5883 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.327, allocations: 173 kB / 0.5885 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.327, allocations: 2.5 kB / 0.5885 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3271, allocations: 7.375 kB / 0.5885 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3272, allocations: 73.66 kB / 0.5886 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3272, allocations: 0.7188 kB / 0.5886 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.3272, allocations: 5.344 kB / 0.5886 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3273, allocations: 2.812 kB / 0.5886 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/0.3274, allocations: 47.91 kB / 0.5886 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/0.3277, allocations: 282.2 kB / 0.5889 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.127e-05/0.3278, allocations: 57.2 kB / 0.589 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.3278, allocations: 46.22 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.3279, allocations: 0.8125 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.293e-05/0.3279, allocations: 37.12 kB / 0.589 GB, free: 21.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.3279, allocations: 3.984 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003296/0.3282, allocations: 183.7 kB / 0.5892 GB, free: 21.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.3283, allocations: 82.48 kB / 0.5893 GB, free: 21.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.3283, allocations: 119.1 kB / 0.5894 GB, free: 21.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3283, allocations: 28.86 kB / 0.5894 GB, free: 21.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.3284, allocations: 94.31 kB / 0.5895 GB, free: 21.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.3284, allocations: 5.031 kB / 0.5895 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3284, allocations: 22.19 kB / 0.5895 GB, free: 21.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.3285, allocations: 324.8 kB / 0.5899 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.3286, allocations: 57.34 kB / 0.5899 GB, free: 21.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.3287, allocations: 61.42 kB / 0.59 GB, free: 21.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.3288, allocations: 197.4 kB / 0.5902 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3289, allocations: 0 / 0.5902 GB, free: 20.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000224/0.3291, allocations: 214.2 kB / 0.5904 GB, free: 20.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.3291, allocations: 63.41 kB / 0.5904 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3291, allocations: 10.52 kB / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3292, allocations: 0 / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.3292, allocations: 0 / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3292, allocations: 4 kB / 0.5904 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.3293, allocations: 11.84 kB / 0.5904 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3293, allocations: 0 / 0.5904 GB, free: 20.73 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.544e-05/0.3294, allocations: 152.6 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3294, allocations: 4 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.565e-05/0.3294, allocations: 9.469 kB / 0.5906 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3294, allocations: 7.984 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3294, allocations: 0 / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3294, allocations: 0 / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.3295, allocations: 179 kB / 0.5908 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3296, allocations: 0 / 0.5908 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.3296, allocations: 4 kB / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3296, allocations: 1.594 kB / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.3296, allocations: 0 / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3296, allocations: 4 kB / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3296, allocations: 0 / 0.5908 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3298, allocations: 250.6 kB / 0.591 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.568e-05/0.3298, allocations: 81.11 kB / 0.5911 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.3299, allocations: 5.203 kB / 0.5911 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.3299, allocations: 4 kB / 0.5911 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.33, allocations: 12.95 kB / 0.5911 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.33, allocations: 0 / 0.5911 GB, free: 19.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.3301, allocations: 99.5 kB / 0.5912 GB, free: 19.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3301, allocations: 7.875 kB / 0.5912 GB, free: 19.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.3304, allocations: 56 kB / 0.5913 GB, free: 19.78 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.0002148/0.3306, allocations: 154.6 kB / 0.5914 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3309, allocations: 240.4 kB / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3309, allocations: 0 / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.759e-05/0.331, allocations: 103.4 kB / 0.5918 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3312, allocations: 8.656 kB / 0.5918 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.3315, allocations: 203.2 kB / 0.592 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.3316, allocations: 0.6923 MB / 0.5926 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.357e-05/0.3316, allocations: 13.5 kB / 0.5927 GB, free: 18.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3316, allocations: 0 / 0.5927 GB, free: 18.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002566/0.3342, allocations: 1.494 MB / 0.5941 GB, free: 16.84 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)