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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8197/0.8197, allocations: 143.4 MB / 158.3 MB, free: 5.816 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 177 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 84.39 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 272 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 14.22 kB / 0.6929 GB, free: 59.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1857, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.6579, allocations: 110.1 MB / 0.8813 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.6582, allocations: 98.72 kB / 0.8814 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009244/0.6674, allocations: 3.262 MB / 0.8846 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.013e-06/0.6675, allocations: 0 / 0.8846 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6675, allocations: 6.531 kB / 0.8846 GB, free: 107.8 MB / 0.5417 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.0003701/0.6679, allocations: 430 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.6679, allocations: 8.25 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.951e-05/0.668, allocations: 6.812 kB / 0.885 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.537e-05/0.6681, allocations: 175.2 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.6681, allocations: 10.55 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.6681, allocations: 3 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6683, allocations: 79.41 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.6683, allocations: 0 / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6683, allocations: 0 / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6683, allocations: 0.5156 kB / 0.8852 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.6684, allocations: 51.33 kB / 0.8853 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.6688, allocations: 277 kB / 0.8856 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.6689, allocations: 68.66 kB / 0.8856 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.6689, allocations: 0 / 0.8856 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.669, allocations: 35.73 kB / 0.8857 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.669, allocations: 0 / 0.8857 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0003941/0.6694, allocations: 272.2 kB / 0.8859 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.6694, allocations: 87.64 kB / 0.886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.6695, allocations: 113 kB / 0.8861 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.6695, allocations: 28.42 kB / 0.8861 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.6696, allocations: 88.44 kB / 0.8862 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.6696, allocations: 4.516 kB / 0.8862 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6696, allocations: 0 / 0.8862 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.6696, allocations: 318.4 kB / 0.8865 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.6698, allocations: 60.31 kB / 0.8866 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.6698, allocations: 58.36 kB / 0.8866 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.67, allocations: 113.3 kB / 0.8868 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.67, allocations: 3.953 kB / 0.8868 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000261/0.6702, allocations: 219.6 kB / 0.887 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.6703, allocations: 66.3 kB / 0.887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6703, allocations: 3.938 kB / 0.887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6703, allocations: 0 / 0.887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.6704, allocations: 8.094 kB / 0.887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.6704, allocations: 4.5 kB / 0.887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.6705, allocations: 15.59 kB / 0.8871 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.6705, allocations: 3.531 kB / 0.8871 GB, free: 105.7 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.6706, allocations: 154.5 kB / 0.8872 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.6706, allocations: 11.73 kB / 0.8872 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.6707, allocations: 8.5 kB / 0.8872 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6707, allocations: 0.8438 kB / 0.8872 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6707, allocations: 0 / 0.8872 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6707, allocations: 0 / 0.8872 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.6708, allocations: 170.4 kB / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6709, allocations: 0 / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.6709, allocations: 11.08 kB / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6709, allocations: 0 / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.6709, allocations: 0 / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6709, allocations: 5.203 kB / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6709, allocations: 3.656 kB / 0.8874 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.6712, allocations: 259.5 kB / 0.8877 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.6712, allocations: 80.56 kB / 0.8877 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.6712, allocations: 9.125 kB / 0.8877 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.6713, allocations: 12.17 kB / 0.8878 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.6714, allocations: 4.594 kB / 0.8878 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.6714, allocations: 0.7031 kB / 0.8878 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.6714, allocations: 97.33 kB / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6714, allocations: 3.938 kB / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003099/0.6718, allocations: 65.12 kB / 0.8879 GB, free: 105 MB / 0.5417 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 (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.0002444/0.672, allocations: 166.5 kB / 0.8881 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.6723, allocations: 245.4 kB / 0.8883 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6723, allocations: 0 / 0.8883 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6724, allocations: 105.5 kB / 0.8884 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.6726, allocations: 4.5 kB / 0.8884 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.6729, allocations: 181.3 kB / 0.8886 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.6731, allocations: 0.6913 MB / 0.8893 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.47e-05/0.6731, allocations: 0.5625 kB / 0.8893 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.6731, allocations: 10.22 kB / 0.8893 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of SimCode: time 4.7e-07/0.6731, allocations: 0 / 0.8893 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.004429/0.6775, allocations: 1.569 MB / 0.8908 GB, free: 103.8 MB / 0.5417 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)