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.001458/0.001458, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001451/0.001451, allocations: 194 kB / 16.25 MB, free: 6.152 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.334/1.334, allocations: 222.9 MB / 239.9 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.966/0.966, allocations: 135.6 MB / 425.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 67.67 kB / 0.5054 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 81.02 MB / 0.5845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002562/0.1495, allocations: 1.48 MB / 0.586 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1508, allocations: 0.7841 MB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.1508, allocations: 0 / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.77e-05/0.1509, allocations: 3.984 kB / 0.5867 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.151, allocations: 3.938 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.1515, allocations: 155.3 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1517, allocations: 55.84 kB / 0.5869 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.598e-05/0.1517, allocations: 7.984 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1518, allocations: 15.98 kB / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1518, allocations: 19.92 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1519, allocations: 8 kB / 0.587 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1522, allocations: 199.7 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1522, allocations: 7.984 kB / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.1523, allocations: 23.86 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.1525, allocations: 183.9 kB / 0.5874 GB, free: 1.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1526, allocations: 3.938 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1526, allocations: 0 / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1526, allocations: 0 / 0.5874 GB, free: 1.324 MB / 494.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.0005606/0.1531, allocations: 438.7 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1532, allocations: 12.03 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1532, allocations: 8.844 kB / 0.5878 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1534, allocations: 164.4 kB / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1534, allocations: 384 / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1534, allocations: 12.06 kB / 0.588 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1536, allocations: 73.66 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1536, allocations: 3.938 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1537, allocations: 0 / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1537, allocations: 4 kB / 0.5881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1538, allocations: 47.97 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1542, allocations: 276.8 kB / 0.5884 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1543, allocations: 66.48 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.1544, allocations: 44.91 kB / 0.5885 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.1544, allocations: 4 kB / 0.5885 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.1545, allocations: 34.56 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1545, allocations: 0 / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003581/0.1548, allocations: 175.3 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1549, allocations: 85.11 kB / 0.5888 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.155, allocations: 133.6 kB / 0.5889 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1551, allocations: 25.7 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.1551, allocations: 96.03 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.1551, allocations: 7.844 kB / 0.589 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1552, allocations: 25.75 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1553, allocations: 322.8 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1554, allocations: 55.97 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.1555, allocations: 55.97 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.1558, allocations: 197.9 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1558, allocations: 0 / 0.5896 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002895/0.1561, allocations: 217.1 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.1561, allocations: 63.41 kB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1561, allocations: 240 / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1562, allocations: 0 / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.1562, allocations: 11.92 kB / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1562, allocations: 0 / 0.5899 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1563, allocations: 7.906 kB / 0.5899 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1563, allocations: 7.984 kB / 0.5899 GB, free: 14.41 MB / 0.4981 GB 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 0.0001191/0.1564, allocations: 151.5 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1565, allocations: 4 kB / 0.5901 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.1565, allocations: 7.906 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1565, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1565, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1565, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.1567, allocations: 177.6 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1567, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/0.1567, allocations: 3.984 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1567, allocations: 4 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1568, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1568, allocations: 7.984 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1568, allocations: 3.938 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.1571, allocations: 257 kB / 0.5905 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.1571, allocations: 77.11 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1572, allocations: 0 / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1572, allocations: 7.984 kB / 0.5906 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.1573, allocations: 8 kB / 0.5906 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1573, allocations: 8.031 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.1574, allocations: 95.2 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1574, allocations: 0 / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002977/0.1577, allocations: 67.98 kB / 0.5908 GB, free: 13.43 MB / 0.4981 GB 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.0002503/0.158, allocations: 155.1 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.1583, allocations: 234.7 kB / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1583, allocations: 0 / 0.5911 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.1585, allocations: 111.3 kB / 0.5913 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.1587, allocations: 6.391 kB / 0.5913 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.159, allocations: 189.3 kB / 0.5914 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1593, allocations: 0.6807 MB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.1594, allocations: 0 / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.1594, allocations: 15.5 kB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1594, allocations: 0 / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.004066/0.1635, allocations: 1.69 MB / 0.5938 GB, free: 10.31 MB / 0.4981 GB 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)