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.001582/0.001582, allocations: 106 kB / 15.99 MB, free: 6.352 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.001515/0.001515, allocations: 193.2 kB / 16.91 MB, free: 6.195 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 / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.2 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 67.88 kB / 0.5056 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3292, allocations: 80.92 MB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002158/0.3314, allocations: 1.476 MB / 0.586 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.3324, allocations: 0.785 MB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.634e-05/0.3325, allocations: 0 / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.3325, allocations: 2.312 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.3326, allocations: 5.047 kB / 0.5868 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.3331, allocations: 153.8 kB / 0.5869 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.3332, allocations: 56.12 kB / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.3333, allocations: 2.688 kB / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.3334, allocations: 19.64 kB / 0.587 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.457e-05/0.3334, allocations: 21.44 kB / 0.587 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.3334, allocations: 4.719 kB / 0.587 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.3337, allocations: 200.3 kB / 0.5872 GB, free: 23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.3337, allocations: 8.797 kB / 0.5872 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3338, allocations: 20.06 kB / 0.5873 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3339, allocations: 128.4 kB / 0.5874 GB, free: 22.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.334, allocations: 1.875 kB / 0.5874 GB, free: 22.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.334, allocations: 0.75 kB / 0.5874 GB, free: 22.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.334, allocations: 0 / 0.5874 GB, free: 22.9 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.0003923/0.3344, allocations: 434.9 kB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.3344, allocations: 10.05 kB / 0.5878 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.3344, allocations: 12.41 kB / 0.5878 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.029e-05/0.3345, allocations: 175.3 kB / 0.588 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3346, allocations: 7.031 kB / 0.588 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3346, allocations: 7.375 kB / 0.588 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3347, allocations: 73.75 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3348, allocations: 0.625 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3348, allocations: 1.375 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3348, allocations: 3.094 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3349, allocations: 47.98 kB / 0.5881 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.3352, allocations: 280.9 kB / 0.5884 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.3353, allocations: 62.39 kB / 0.5885 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.3354, allocations: 45.92 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3354, allocations: 6.328 kB / 0.5885 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.3354, allocations: 30.56 kB / 0.5885 GB, free: 21.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3354, allocations: 2 kB / 0.5885 GB, free: 21.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003293/0.3358, allocations: 177 kB / 0.5887 GB, free: 21.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3358, allocations: 84.36 kB / 0.5888 GB, free: 21.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.834e-05/0.3359, allocations: 123.6 kB / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.3359, allocations: 30.86 kB / 0.5889 GB, free: 21.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.3359, allocations: 91.53 kB / 0.589 GB, free: 21.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.3359, allocations: 13.14 kB / 0.589 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.336, allocations: 21.38 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.336, allocations: 329.8 kB / 0.5894 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.3361, allocations: 56.75 kB / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.3362, allocations: 57.22 kB / 0.5895 GB, free: 20.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3364, allocations: 190.4 kB / 0.5897 GB, free: 20.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3364, allocations: 1.031 kB / 0.5897 GB, free: 20.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002313/0.3367, allocations: 221 kB / 0.5899 GB, free: 20.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.3367, allocations: 63.81 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3367, allocations: 1.75 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3367, allocations: 5 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.3368, allocations: 6.797 kB / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3368, allocations: 0 / 0.5899 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.3368, allocations: 15.72 kB / 0.59 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3369, allocations: 2.688 kB / 0.59 GB, free: 20.53 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.996e-05/0.3369, allocations: 151 kB / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.337, allocations: 2.625 kB / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.948e-05/0.337, allocations: 6.312 kB / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.337, allocations: 1 kB / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.337, allocations: 0 / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.337, allocations: 1.188 kB / 0.5901 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.3371, allocations: 179.2 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3371, allocations: 1.188 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.3372, allocations: 7.766 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3372, allocations: 0 / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3372, allocations: 2.156 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3372, allocations: 1.25 kB / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3372, allocations: 0 / 0.5903 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3374, allocations: 258.1 kB / 0.5905 GB, free: 19.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3374, allocations: 78.33 kB / 0.5906 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3375, allocations: 1.562 kB / 0.5906 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.3375, allocations: 9.047 kB / 0.5906 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3377, allocations: 2.75 kB / 0.5906 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3377, allocations: 1.406 kB / 0.5906 GB, free: 19.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.3377, allocations: 104.4 kB / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 0.5907 GB, free: 19.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.338, allocations: 59.83 kB / 0.5908 GB, free: 19.74 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.0002346/0.3383, allocations: 153.5 kB / 0.5909 GB, free: 19.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.3386, allocations: 241.7 kB / 0.5912 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3386, allocations: 5.156 kB / 0.5912 GB, free: 19.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.3387, allocations: 106.8 kB / 0.5913 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.3389, allocations: 6.688 kB / 0.5913 GB, free: 19.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.3392, allocations: 214.7 kB / 0.5915 GB, free: 19.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3393, allocations: 0.6814 MB / 0.5921 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.3394, allocations: 8.906 kB / 0.5922 GB, free: 18.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3394, allocations: 1.375 kB / 0.5922 GB, free: 18.47 MB / 446.1 MB Notification: Performance of Templates: time 0.002791/0.3422, allocations: 1.495 MB / 0.5936 GB, free: 17.04 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)