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.001858/0.001858, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8591/0.8591, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.808/1.808, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008539/0.0008536, allocations: 94.41 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 4 kB / 0.5535 GB, free: 9.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5551, allocations: 82.31 MB / 0.6339 GB, free: 40.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.7262, allocations: 112.1 MB / 0.7433 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.7266, allocations: 91.94 kB / 0.7434 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.737, allocations: 3.241 MB / 0.7466 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/0.737, allocations: 0 / 0.7466 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.737, allocations: 0 / 0.7466 GB, free: 7.383 MB / 0.5261 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.0005854/0.7376, allocations: 425.7 kB / 0.747 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7377, allocations: 8.031 kB / 0.747 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.7377, allocations: 4 kB / 0.747 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.738, allocations: 174.9 kB / 0.7471 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.738, allocations: 4 kB / 0.7471 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.738, allocations: 0 / 0.7471 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.7382, allocations: 39.97 kB / 0.7472 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.7383, allocations: 65.69 kB / 0.7472 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.7383, allocations: 7.969 kB / 0.7473 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.7383, allocations: 0 / 0.7473 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7384, allocations: 0 / 0.7473 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.7389, allocations: 261.4 kB / 0.7475 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7391, allocations: 54.5 kB / 0.7476 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.7392, allocations: 48.91 kB / 0.7476 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.7392, allocations: 0 / 0.7476 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.7392, allocations: 30.56 kB / 0.7476 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.7392, allocations: 0 / 0.7476 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003154/0.7396, allocations: 101.6 kB / 0.7477 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.7397, allocations: 89.14 kB / 0.7478 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.7398, allocations: 112.9 kB / 0.7479 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.7398, allocations: 29.7 kB / 0.748 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.047e-05/0.7399, allocations: 84.14 kB / 0.748 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.7399, allocations: 11.91 kB / 0.748 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.7399, allocations: 0 / 0.748 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.7401, allocations: 318.8 kB / 0.7483 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.7402, allocations: 59.84 kB / 0.7484 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.7403, allocations: 47.98 kB / 0.7484 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.7404, allocations: 60.03 kB / 0.7485 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7404, allocations: 0 / 0.7485 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002496/0.7407, allocations: 145.5 kB / 0.7486 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/0.7408, allocations: 59.41 kB / 0.7487 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7408, allocations: 0 / 0.7487 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7408, allocations: 4 kB / 0.7487 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.7409, allocations: 7.984 kB / 0.7487 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7409, allocations: 0 / 0.7487 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.7409, allocations: 8 kB / 0.7487 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.741, allocations: 4 kB / 0.7487 GB, free: 4.934 MB / 0.5261 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 0.0001163/0.7411, allocations: 142.6 kB / 0.7489 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.7412, allocations: 7.906 kB / 0.7489 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.7412, allocations: 4.344 kB / 0.7489 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.7412, allocations: 4 kB / 0.7489 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7412, allocations: 0 / 0.7489 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.7412, allocations: 0 / 0.7489 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.7414, allocations: 154.1 kB / 0.749 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7414, allocations: 0 / 0.749 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.7414, allocations: 11.95 kB / 0.749 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.7415, allocations: 0 / 0.749 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7415, allocations: 0 / 0.749 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.7415, allocations: 4 kB / 0.749 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7415, allocations: 0 / 0.749 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.7417, allocations: 203.5 kB / 0.7492 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.7418, allocations: 81.02 kB / 0.7493 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.7419, allocations: 11.98 kB / 0.7493 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.7419, allocations: 4 kB / 0.7493 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7421, allocations: 7.984 kB / 0.7493 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.7421, allocations: 0 / 0.7493 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.7422, allocations: 103.2 kB / 0.7494 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7422, allocations: 0 / 0.7494 GB, free: 4.125 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003793/0.7425, allocations: 71.86 kB / 0.7495 GB, free: 4.055 MB / 0.5261 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.0004019/0.743, allocations: 163.1 kB / 0.7497 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003439/0.7433, allocations: 222.8 kB / 0.7499 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7433, allocations: 3.938 kB / 0.7499 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.7435, allocations: 99.38 kB / 0.75 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.7437, allocations: 4 kB / 0.75 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.744, allocations: 119.9 kB / 0.7501 GB, free: 3.383 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.7445, allocations: 0.6885 MB / 0.7508 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.7445, allocations: 64 / 0.7508 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.7445, allocations: 11.44 kB / 0.7508 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.7445, allocations: 0 / 0.7508 GB, free: 2.656 MB / 0.5261 GB Notification: Performance of Templates: time 0.005011/0.7495, allocations: 1.531 MB / 0.7523 GB, free: 1.137 MB / 0.5261 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)