Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006781/0.00678, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7443/0.7443, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.001015/0.001015, allocations: 95.05 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 12 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.556, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.7188, allocations: 112.8 MB / 0.7597 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.7192, allocations: 95.94 kB / 0.7597 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009869/0.7291, allocations: 3.272 MB / 0.7629 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7291, allocations: 0 / 0.7629 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7291, allocations: 4 kB / 0.7629 GB, free: 15.81 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.0005218/0.7297, allocations: 434.5 kB / 0.7634 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.7297, allocations: 8.031 kB / 0.7634 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.7298, allocations: 7.906 kB / 0.7634 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7299, allocations: 171 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.7299, allocations: 4 kB / 0.7635 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.73, allocations: 3.984 kB / 0.7635 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.7302, allocations: 77.67 kB / 0.7636 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.7302, allocations: 3.984 kB / 0.7636 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.7302, allocations: 3.938 kB / 0.7636 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.7302, allocations: 4 kB / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.7304, allocations: 55.91 kB / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.7308, allocations: 280.8 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.7309, allocations: 62.55 kB / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.731, allocations: 0 / 0.764 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.731, allocations: 30.56 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.731, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.000446/0.7315, allocations: 272.4 kB / 0.7643 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.7315, allocations: 81.11 kB / 0.7644 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.7316, allocations: 113 kB / 0.7645 GB, free: 14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7316, allocations: 29.7 kB / 0.7645 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.7317, allocations: 88.05 kB / 0.7646 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.7317, allocations: 11.89 kB / 0.7646 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.7317, allocations: 0 / 0.7646 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7319, allocations: 318.8 kB / 0.7649 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/0.732, allocations: 55.95 kB / 0.765 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.7321, allocations: 63.91 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.7322, allocations: 119.4 kB / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7322, allocations: 0 / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002926/0.7325, allocations: 221 kB / 0.7654 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.7326, allocations: 59.41 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7326, allocations: 0 / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7326, allocations: 0 / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.385e-05/0.7327, allocations: 11.98 kB / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7327, allocations: 0 / 0.7654 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.7328, allocations: 15.84 kB / 0.7654 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.7328, allocations: 4 kB / 0.7654 GB, free: 12.96 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 0.0001216/0.7329, allocations: 151.5 kB / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.733, allocations: 0 / 0.7656 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.733, allocations: 11.91 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.733, allocations: 4 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.733, allocations: 0 / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.733, allocations: 0 / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.7332, allocations: 173.6 kB / 0.7658 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7332, allocations: 0 / 0.7658 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.7333, allocations: 7.984 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.7333, allocations: 4 kB / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.7333, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7333, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7333, allocations: 0 / 0.7658 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.7336, allocations: 257 kB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.7337, allocations: 89.19 kB / 0.7661 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.7337, allocations: 0 / 0.7661 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.7338, allocations: 15.98 kB / 0.7661 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.7339, allocations: 3.984 kB / 0.7661 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.7339, allocations: 4 kB / 0.7661 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.006e-05/0.7339, allocations: 103.2 kB / 0.7662 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7339, allocations: 0 / 0.7662 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003459/0.7343, allocations: 71.92 kB / 0.7663 GB, free: 11.97 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.0002971/0.7346, allocations: 156.6 kB / 0.7664 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.7349, allocations: 238.7 kB / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.735, allocations: 7.938 kB / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.7351, allocations: 107.4 kB / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.7353, allocations: 0 / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.7356, allocations: 188.6 kB / 0.767 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.7359, allocations: 0.6887 MB / 0.7676 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.736, allocations: 8.062 kB / 0.7676 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.736, allocations: 7.438 kB / 0.7676 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.736, allocations: 0 / 0.7676 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of Templates: time 0.004429/0.7404, allocations: 1.555 MB / 0.7692 GB, free: 8.941 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)