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.9712/0.9712, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001095/0.001095, allocations: 183.9 kB / 182.2 MB, free: 9.441 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.549/1.549, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009918/0.0009919, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 269.3 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.789e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4822, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.6399, allocations: 109.4 MB / 0.8642 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.6402, allocations: 91.81 kB / 0.8643 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009718/0.6499, allocations: 3.238 MB / 0.8675 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.433e-06/0.65, allocations: 0 / 0.8675 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.65, allocations: 0 / 0.8675 GB, free: 15.11 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.0004478/0.6505, allocations: 421.8 kB / 0.8679 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6505, allocations: 12.03 kB / 0.8679 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.6506, allocations: 7.906 kB / 0.8679 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.6507, allocations: 171 kB / 0.8681 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.6507, allocations: 3.953 kB / 0.8681 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.6508, allocations: 4 kB / 0.8681 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/0.6509, allocations: 35.98 kB / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.651, allocations: 69.61 kB / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.651, allocations: 4 kB / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.651, allocations: 0 / 0.8682 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.6511, allocations: 4 kB / 0.8682 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.6515, allocations: 265.3 kB / 0.8684 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.6516, allocations: 54.5 kB / 0.8685 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.6517, allocations: 40.91 kB / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.6517, allocations: 4 kB / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.6517, allocations: 38.56 kB / 0.8686 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6517, allocations: 0 / 0.8686 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002926/0.652, allocations: 101.6 kB / 0.8686 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.6521, allocations: 77.11 kB / 0.8687 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.6522, allocations: 116.9 kB / 0.8688 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.6522, allocations: 25.7 kB / 0.8689 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.6523, allocations: 96.03 kB / 0.869 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.6523, allocations: 11.94 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.6523, allocations: 0 / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6524, allocations: 314.8 kB / 0.8693 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.6525, allocations: 51.97 kB / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.6526, allocations: 51.97 kB / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.6527, allocations: 47.97 kB / 0.8694 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6527, allocations: 0 / 0.8694 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000213/0.6529, allocations: 145.6 kB / 0.8695 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.653, allocations: 64.64 kB / 0.8696 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.653, allocations: 11.88 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.653, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.6531, allocations: 4 kB / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6531, allocations: 0 / 0.8696 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.6532, allocations: 15.89 kB / 0.8696 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.6532, allocations: 5.016 kB / 0.8696 GB, free: 12.66 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 8.576e-05/0.6533, allocations: 134.7 kB / 0.8698 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.6533, allocations: 7.953 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.6534, allocations: 8.344 kB / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.6534, allocations: 0 / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6534, allocations: 0 / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6534, allocations: 0 / 0.8698 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.6536, allocations: 150.2 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6536, allocations: 4 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.6536, allocations: 7.984 kB / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6536, allocations: 0 / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6536, allocations: 8.016 kB / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6536, allocations: 0 / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6536, allocations: 4 kB / 0.87 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.6539, allocations: 207.4 kB / 0.8702 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.6539, allocations: 77.11 kB / 0.8702 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.6539, allocations: 4 kB / 0.8702 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.654, allocations: 15.94 kB / 0.8702 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.6541, allocations: 7.938 kB / 0.8703 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.6541, allocations: 0 / 0.8703 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.6541, allocations: 99.3 kB / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6542, allocations: 0 / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003192/0.6545, allocations: 75.77 kB / 0.8704 GB, free: 11.77 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.0002737/0.6548, allocations: 163.1 kB / 0.8706 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000266/0.655, allocations: 222.8 kB / 0.8708 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.655, allocations: 0 / 0.8708 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.186e-05/0.6551, allocations: 99.33 kB / 0.8709 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.6553, allocations: 8.062 kB / 0.8709 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.6556, allocations: 119.8 kB / 0.871 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.6559, allocations: 0.6924 MB / 0.8717 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.603e-05/0.6559, allocations: 3.984 kB / 0.8717 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.393e-05/0.6559, allocations: 7.438 kB / 0.8717 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6559, allocations: 0 / 0.8717 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.003719/0.6596, allocations: 1.531 MB / 0.8732 GB, free: 8.883 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)