Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000989/0.0009891, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 278.8 kB / 291.3 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 17.88 kB / 0.598 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 88.54 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001374/0.1426, allocations: 1.128 MB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1437, allocations: 0.7244 MB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.1438, allocations: 2.219 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.1438, allocations: 3.938 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.349e-05/0.1439, allocations: 7.984 kB / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.1444, allocations: 123.7 kB / 0.6864 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1444, allocations: 31.92 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.1445, allocations: 4.281 kB / 0.6865 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.781e-05/0.1446, allocations: 19.91 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.1446, allocations: 15.98 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1446, allocations: 3.938 kB / 0.6865 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.1449, allocations: 181.5 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.1449, allocations: 7.938 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.145, allocations: 33.7 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1452, allocations: 135.7 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1452, allocations: 0 / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1452, allocations: 0.5625 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.1452, allocations: 0.5625 kB / 0.6869 GB, free: 13.01 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.0004182/0.1456, allocations: 426.7 kB / 0.6873 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1457, allocations: 8.031 kB / 0.6873 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1457, allocations: 11.86 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1458, allocations: 175 kB / 0.6874 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1458, allocations: 0 / 0.6874 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.1459, allocations: 4 kB / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.146, allocations: 71.48 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1461, allocations: 4 kB / 0.6875 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1461, allocations: 7.984 kB / 0.6875 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1461, allocations: 0.8438 kB / 0.6875 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1462, allocations: 56.47 kB / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003654/0.1466, allocations: 271.6 kB / 0.6878 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1467, allocations: 63.02 kB / 0.6879 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.1468, allocations: 56.31 kB / 0.688 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.1468, allocations: 0 / 0.688 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1469, allocations: 34.56 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1469, allocations: 0 / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003765/0.1472, allocations: 192.3 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1473, allocations: 85.05 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.1474, allocations: 130.4 kB / 0.6884 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1474, allocations: 30.42 kB / 0.6884 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1475, allocations: 84.14 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.1475, allocations: 16.67 kB / 0.6885 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1475, allocations: 4 kB / 0.6885 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.1476, allocations: 315.5 kB / 0.6888 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.1477, allocations: 61.78 kB / 0.6889 GB, free: 10.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.525e-05/0.1478, allocations: 63.89 kB / 0.6889 GB, free: 10.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.148, allocations: 119.4 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.148, allocations: 0 / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002789/0.1483, allocations: 217 kB / 0.6892 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1483, allocations: 63.39 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1483, allocations: 0 / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1483, allocations: 0 / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.1484, allocations: 7.953 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1484, allocations: 11.88 kB / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1485, allocations: 8 kB / 0.6893 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1485, allocations: 4 kB / 0.6893 GB, free: 10.2 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.1486, allocations: 148.2 kB / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.1486, allocations: 3.906 kB / 0.6895 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.1487, allocations: 11.89 kB / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1487, allocations: 0 / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1487, allocations: 3.953 kB / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1487, allocations: 4 kB / 0.6895 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1488, allocations: 173.6 kB / 0.6897 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1489, allocations: 0 / 0.6897 GB, free: 9.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1489, allocations: 4 kB / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1489, allocations: 0 / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1489, allocations: 0 / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1489, allocations: 0 / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1489, allocations: 0 / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.1492, allocations: 265 kB / 0.6899 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.1492, allocations: 77.11 kB / 0.69 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1493, allocations: 12.05 kB / 0.69 GB, free: 9.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.1493, allocations: 4 kB / 0.69 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.1494, allocations: 11.98 kB / 0.69 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1495, allocations: 0 / 0.69 GB, free: 9.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.1495, allocations: 95.27 kB / 0.6901 GB, free: 9.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1495, allocations: 4.031 kB / 0.6901 GB, free: 9.293 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.1498, allocations: 67.89 kB / 0.6902 GB, free: 9.227 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002392/0.1501, allocations: 151.1 kB / 0.6903 GB, free: 9.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.1504, allocations: 243 kB / 0.6906 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1504, allocations: 0 / 0.6906 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1506, allocations: 107.4 kB / 0.6907 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.1508, allocations: 4.75 kB / 0.6907 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.1511, allocations: 190.1 kB / 0.6908 GB, free: 8.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1513, allocations: 0.6849 MB / 0.6915 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.31e-05/0.1514, allocations: 0 / 0.6915 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.1514, allocations: 11.5 kB / 0.6915 GB, free: 7.758 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1514, allocations: 0 / 0.6915 GB, free: 7.758 MB / 494.1 MB Notification: Performance of Templates: time 0.003921/0.1553, allocations: 1.628 MB / 0.6931 GB, free: 6.168 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)