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.001155/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001407/0.001407, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.343/1.343, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9487/0.9487, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 69.42 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1402, allocations: 80.93 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002553/0.1428, allocations: 1.477 MB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.1441, allocations: 0.8191 MB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1441, allocations: 0 / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.1442, allocations: 0 / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.123e-05/0.1443, allocations: 4 kB / 0.586 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.1448, allocations: 127.2 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.1449, allocations: 43.91 kB / 0.5861 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.145, allocations: 8 kB / 0.5861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.145, allocations: 11.98 kB / 0.5861 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.1451, allocations: 19.91 kB / 0.5862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.1451, allocations: 4 kB / 0.5862 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.1454, allocations: 187.7 kB / 0.5864 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.1455, allocations: 12 kB / 0.5864 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1455, allocations: 19.86 kB / 0.5864 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1458, allocations: 187.9 kB / 0.5866 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1458, allocations: 4 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1458, allocations: 3.938 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1458, allocations: 0 / 0.5866 GB, free: 2.086 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.0005162/0.1463, allocations: 434.7 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1464, allocations: 8.031 kB / 0.587 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1464, allocations: 4.938 kB / 0.587 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1465, allocations: 172.3 kB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1466, allocations: 4.375 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1466, allocations: 8.125 kB / 0.5872 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1468, allocations: 73.67 kB / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1468, allocations: 0 / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1468, allocations: 0 / 0.5872 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1468, allocations: 3.938 kB / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1469, allocations: 55.94 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1473, allocations: 272.9 kB / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.1475, allocations: 62.55 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.515e-05/0.1475, allocations: 44.91 kB / 0.5877 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.1476, allocations: 4 kB / 0.5877 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1476, allocations: 38.5 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1476, allocations: 0 / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003987/0.148, allocations: 183.2 kB / 0.5879 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.1481, allocations: 85.14 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.1482, allocations: 124.9 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1482, allocations: 25.7 kB / 0.5881 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.1482, allocations: 88.14 kB / 0.5882 GB, free: 212 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.1483, allocations: 19.69 kB / 0.5882 GB, free: 192 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1483, allocations: 25.64 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1484, allocations: 318.8 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.1485, allocations: 59.97 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.64e-05/0.1486, allocations: 63.95 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.1489, allocations: 193.8 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1489, allocations: 0 / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002707/0.1492, allocations: 213 kB / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.1492, allocations: 63.39 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1492, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1492, allocations: 0 / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.1493, allocations: 8 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1493, allocations: 4 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.1494, allocations: 7.984 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1494, allocations: 4 kB / 0.5891 GB, free: 15.18 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.0001078/0.1495, allocations: 147.5 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1495, allocations: 7.891 kB / 0.5893 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.1496, allocations: 7.906 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1496, allocations: 4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1496, allocations: 4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1496, allocations: 4 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1497, allocations: 173.6 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1497, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.1498, allocations: 4 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1498, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1498, allocations: 4 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1498, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1498, allocations: 0 / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1501, allocations: 257 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.1501, allocations: 81.11 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1502, allocations: 0 / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.1502, allocations: 4 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1503, allocations: 7.984 kB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.1504, allocations: 0 / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.1504, allocations: 103.2 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.964e-06/0.1504, allocations: 0 / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003194/0.1508, allocations: 59.92 kB / 0.59 GB, free: 14.21 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.0002672/0.151, allocations: 155.2 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.1514, allocations: 242.7 kB / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1514, allocations: 0 / 0.5903 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1515, allocations: 99.38 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1517, allocations: 11.94 kB / 0.5904 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1521, allocations: 191.2 kB / 0.5906 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1523, allocations: 0.6891 MB / 0.5913 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.1524, allocations: 3.938 kB / 0.5913 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.1524, allocations: 7.438 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1524, allocations: 0 / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.003861/0.1563, allocations: 1.646 MB / 0.5929 GB, free: 11.11 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)