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.7955/0.7955, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 180.2 kB / 187.3 MB, free: 11.88 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.523/1.523, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.001019/0.001019, allocations: 100.7 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001873/0.001873, allocations: 276.8 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.709e-05, allocations: 4 kB / 0.6835 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5103, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.653, allocations: 110.1 MB / 0.8718 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.6534, allocations: 95.81 kB / 0.8719 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01058/0.664, allocations: 3.25 MB / 0.875 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.286e-06/0.664, allocations: 0 / 0.875 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.6641, allocations: 0 / 0.875 GB, free: 11.16 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.0004951/0.6646, allocations: 421.8 kB / 0.8754 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6646, allocations: 8.031 kB / 0.8755 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.6647, allocations: 11.84 kB / 0.8755 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.6648, allocations: 178.9 kB / 0.8756 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.6649, allocations: 7.953 kB / 0.8756 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.6649, allocations: 4 kB / 0.8756 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6651, allocations: 69.61 kB / 0.8757 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6651, allocations: 0 / 0.8757 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.6651, allocations: 7.984 kB / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6651, allocations: 0 / 0.8757 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.6652, allocations: 35.98 kB / 0.8758 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.6657, allocations: 288.7 kB / 0.876 GB, free: 9.996 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.6658, allocations: 54.56 kB / 0.8761 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.6659, allocations: 44.86 kB / 0.8761 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.6659, allocations: 0 / 0.8761 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.666, allocations: 34.56 kB / 0.8762 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.666, allocations: 0 / 0.8762 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002916/0.6663, allocations: 131.4 kB / 0.8763 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.6663, allocations: 85.12 kB / 0.8764 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.6665, allocations: 113 kB / 0.8765 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.6665, allocations: 25.7 kB / 0.8765 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.6666, allocations: 92.05 kB / 0.8766 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.6666, allocations: 3.906 kB / 0.8766 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.6666, allocations: 4 kB / 0.8766 GB, free: 9.352 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6667, allocations: 318.8 kB / 0.8769 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.6668, allocations: 47.98 kB / 0.8769 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.6669, allocations: 55.91 kB / 0.877 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.667, allocations: 115.3 kB / 0.8771 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.667, allocations: 3.938 kB / 0.8771 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002347/0.6673, allocations: 201 kB / 0.8773 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/0.6673, allocations: 63.41 kB / 0.8774 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6673, allocations: 3.984 kB / 0.8774 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.6674, allocations: 0 / 0.8774 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.6675, allocations: 4 kB / 0.8774 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6675, allocations: 0 / 0.8774 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.6675, allocations: 11.91 kB / 0.8774 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.6676, allocations: 8 kB / 0.8774 GB, free: 8.484 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 () * 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.462e-05/0.6677, allocations: 138.6 kB / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.6677, allocations: 0 / 0.8775 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.6677, allocations: 12.03 kB / 0.8775 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6677, allocations: 0 / 0.8775 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6678, allocations: 0 / 0.8775 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6678, allocations: 0 / 0.8775 GB, free: 8.324 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.6679, allocations: 169.6 kB / 0.8777 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.6679, allocations: 11.89 kB / 0.8777 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.668, allocations: 12 kB / 0.8777 GB, free: 8.086 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.668, allocations: 7.984 kB / 0.8777 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.668, allocations: 0 / 0.8777 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.668, allocations: 0 / 0.8777 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.668, allocations: 0 / 0.8777 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.6683, allocations: 237.1 kB / 0.8779 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.6683, allocations: 81.06 kB / 0.878 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.6683, allocations: 0 / 0.878 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.6684, allocations: 16.02 kB / 0.878 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.6685, allocations: 8 kB / 0.878 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.6685, allocations: 0 / 0.878 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.211e-05/0.6686, allocations: 95.27 kB / 0.8781 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.883e-06/0.6686, allocations: 0 / 0.8781 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003295/0.6689, allocations: 75.8 kB / 0.8782 GB, free: 7.535 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) * 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.0003194/0.6692, allocations: 163.1 kB / 0.8784 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002871/0.6695, allocations: 230.8 kB / 0.8786 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6696, allocations: 0 / 0.8786 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6697, allocations: 99.39 kB / 0.8787 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.6698, allocations: 0.8125 kB / 0.8787 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.6701, allocations: 132.7 kB / 0.8788 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.6705, allocations: 0.6928 MB / 0.8795 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.59e-05/0.6705, allocations: 0 / 0.8795 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.6705, allocations: 11.5 kB / 0.8795 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of SimCode: time 2.064e-06/0.6705, allocations: 0 / 0.8795 GB, free: 6.121 MB / 0.5417 GB Notification: Performance of Templates: time 0.004098/0.6746, allocations: 1.601 MB / 0.8811 GB, free: 4.559 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)