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.004197/0.004197, allocations: 102.5 kB / 15.73 MB, free: 5.961 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: 190 kB / 16.67 MB, free: 5.883 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 283 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9211/0.9211, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 99.83 kB / 0.6815 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 86.98 MB / 0.7664 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002167/0.1507, allocations: 1.404 MB / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1518, allocations: 0.7845 MB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.708e-05/0.1518, allocations: 3.938 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.619e-05/0.1519, allocations: 3.938 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.152, allocations: 3.938 kB / 0.7685 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.1525, allocations: 183.5 kB / 0.7687 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.1526, allocations: 43.97 kB / 0.7688 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.1527, allocations: 7.938 kB / 0.7688 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.1527, allocations: 11.98 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.1528, allocations: 23.92 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1528, allocations: 8 kB / 0.7688 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.1531, allocations: 207.6 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1532, allocations: 7.938 kB / 0.769 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1532, allocations: 19.92 kB / 0.769 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1535, allocations: 191.6 kB / 0.7692 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1535, allocations: 4 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1535, allocations: 0 / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1535, allocations: 0 / 0.7692 GB, free: 5.543 MB / 0.5606 GB 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.0004224/0.1539, allocations: 426.7 kB / 0.7696 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.154, allocations: 12.03 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.154, allocations: 8.844 kB / 0.7697 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.1541, allocations: 168.4 kB / 0.7698 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1541, allocations: 4.375 kB / 0.7698 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.1541, allocations: 4.359 kB / 0.7698 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1543, allocations: 77.92 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1543, allocations: 0 / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1543, allocations: 4 kB / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1544, allocations: 0 / 0.7699 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1545, allocations: 47.95 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.1548, allocations: 300.6 kB / 0.7702 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1549, allocations: 54.56 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.155, allocations: 52.84 kB / 0.7703 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.155, allocations: 0 / 0.7703 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.1551, allocations: 34.56 kB / 0.7704 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1551, allocations: 0 / 0.7704 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000359/0.1554, allocations: 183.3 kB / 0.7705 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1555, allocations: 81.11 kB / 0.7706 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.1556, allocations: 121.8 kB / 0.7707 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1556, allocations: 29.7 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1557, allocations: 88.05 kB / 0.7708 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.1557, allocations: 7.906 kB / 0.7709 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.1557, allocations: 25.73 kB / 0.7709 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.1558, allocations: 314.8 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1559, allocations: 63.89 kB / 0.7712 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/0.156, allocations: 55.97 kB / 0.7713 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.1562, allocations: 197.8 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1562, allocations: 0 / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002613/0.1565, allocations: 213.1 kB / 0.7717 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.1566, allocations: 71.39 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.1566, allocations: 3.938 kB / 0.7718 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1566, allocations: 0 / 0.7718 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.818e-05/0.1566, allocations: 4 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.1567, allocations: 0 / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.1567, allocations: 15.89 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1567, allocations: 3.938 kB / 0.7718 GB, free: 2.633 MB / 0.5606 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 9.366e-05/0.1568, allocations: 151.5 kB / 0.7719 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1569, allocations: 4 kB / 0.7719 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.1569, allocations: 7.906 kB / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1569, allocations: 0 / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1569, allocations: 0 / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1569, allocations: 0 / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1571, allocations: 185.5 kB / 0.7721 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1571, allocations: 0 / 0.7721 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.1571, allocations: 4 kB / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1571, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1571, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1571, allocations: 0 / 0.7721 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1571, allocations: 4 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1574, allocations: 257.3 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.1574, allocations: 81.09 kB / 0.7724 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1575, allocations: 4 kB / 0.7724 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.1575, allocations: 7.938 kB / 0.7725 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1576, allocations: 7.984 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1576, allocations: 4 kB / 0.7725 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.333e-05/0.1577, allocations: 99.3 kB / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1577, allocations: 0 / 0.7726 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002887/0.158, allocations: 59.98 kB / 0.7726 GB, free: 1.664 MB / 0.5606 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.0002314/0.1582, allocations: 151.2 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003045/0.1585, allocations: 242.7 kB / 0.773 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1585, allocations: 0 / 0.773 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.1587, allocations: 107.4 kB / 0.7731 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.1589, allocations: 5.156 kB / 0.7731 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.1592, allocations: 173.4 kB / 0.7733 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1594, allocations: 0.6885 MB / 0.7739 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.464e-05/0.1594, allocations: 0 / 0.7739 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.1594, allocations: 7.438 kB / 0.7739 GB, free: 212 kB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.1594, allocations: 0 / 0.7739 GB, free: 212 kB / 0.5606 GB Notification: Performance of Templates: time 0.2764/0.4358, allocations: 1.754 MB / 0.7757 GB, free: 14.56 MB / 0.5606 GB 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)