Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3715/0.3715, allocations: 55.01 MB / 69.96 MB, free: 8.652 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001781/0.001781, allocations: 183.6 kB / 83.98 MB, free: 10.82 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.025/2.025, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001741/0.001741, allocations: 108.3 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004279, allocations: 12 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 57.65 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6218, allocations: 86.97 MB / 0.5503 GB, free: 2.332 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.6222, allocations: 91.88 kB / 0.5504 GB, free: 2.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009073/0.6313, allocations: 3.177 MB / 0.5535 GB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6313, allocations: 3.938 kB / 0.5535 GB, free: 15.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.6313, allocations: 0 / 0.5535 GB, free: 15.48 MB / 378.7 MB 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.0005597/0.6319, allocations: 441.2 kB / 0.5539 GB, free: 15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.632, allocations: 8.031 kB / 0.5539 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.632, allocations: 7.984 kB / 0.5539 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.6322, allocations: 170.2 kB / 0.5541 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6322, allocations: 3.188 kB / 0.5541 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.6322, allocations: 4 kB / 0.5541 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.6324, allocations: 84.55 kB / 0.5542 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6325, allocations: 4 kB / 0.5542 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.6325, allocations: 7.812 kB / 0.5542 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6325, allocations: 0 / 0.5542 GB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.6326, allocations: 47.22 kB / 0.5542 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.6331, allocations: 281 kB / 0.5545 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6332, allocations: 69.62 kB / 0.5546 GB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.6333, allocations: 3.984 kB / 0.5546 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.6333, allocations: 42.16 kB / 0.5546 GB, free: 14.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6333, allocations: 0 / 0.5546 GB, free: 14.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004484/0.6338, allocations: 268.8 kB / 0.5549 GB, free: 13.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.6338, allocations: 81.14 kB / 0.5549 GB, free: 13.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6339, allocations: 112.1 kB / 0.5551 GB, free: 13.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.634, allocations: 25.7 kB / 0.5551 GB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.634, allocations: 91.25 kB / 0.5552 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.634, allocations: 7.469 kB / 0.5552 GB, free: 13.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.6341, allocations: 0 / 0.5552 GB, free: 13.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6342, allocations: 314.8 kB / 0.5555 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6343, allocations: 67.2 kB / 0.5555 GB, free: 13.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-05/0.6344, allocations: 57.59 kB / 0.5556 GB, free: 13.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.6346, allocations: 112.9 kB / 0.5557 GB, free: 13.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6346, allocations: 0 / 0.5557 GB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000283/0.6349, allocations: 218.2 kB / 0.5559 GB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/0.6349, allocations: 66.86 kB / 0.556 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.635, allocations: 4 kB / 0.556 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.635, allocations: 0 / 0.556 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.635, allocations: 7.984 kB / 0.556 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.6351, allocations: 4 kB / 0.556 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.6351, allocations: 4 kB / 0.556 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.6351, allocations: 4 kB / 0.556 GB, free: 12.79 MB / 378.7 MB 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.000116/0.6353, allocations: 147.2 kB / 0.5561 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.6353, allocations: 7.906 kB / 0.5561 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.6353, allocations: 15.48 kB / 0.5562 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6353, allocations: 3.938 kB / 0.5562 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6354, allocations: 0 / 0.5562 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6354, allocations: 0 / 0.5562 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.6356, allocations: 176.8 kB / 0.5563 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6356, allocations: 0 / 0.5563 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.6356, allocations: 7.984 kB / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6356, allocations: 0 / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6356, allocations: 0 / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6356, allocations: 3.953 kB / 0.5563 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6356, allocations: 11.94 kB / 0.5564 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.636, allocations: 242.5 kB / 0.5566 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.636, allocations: 84.95 kB / 0.5567 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.6361, allocations: 4 kB / 0.5567 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.6361, allocations: 7.984 kB / 0.5567 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.6362, allocations: 15.48 kB / 0.5567 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.6363, allocations: 0 / 0.5567 GB, free: 12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.39e-05/0.6363, allocations: 94.77 kB / 0.5568 GB, free: 11.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.734e-06/0.6363, allocations: 0 / 0.5568 GB, free: 11.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.6367, allocations: 79.42 kB / 0.5569 GB, free: 11.84 MB / 378.7 MB 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.0003249/0.637, allocations: 154.6 kB / 0.557 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.6374, allocations: 243 kB / 0.5572 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6374, allocations: 0 / 0.5572 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6376, allocations: 102 kB / 0.5573 GB, free: 11.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.6377, allocations: 7.547 kB / 0.5573 GB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.6381, allocations: 187.2 kB / 0.5575 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6385, allocations: 0.6887 MB / 0.5582 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.779e-05/0.6385, allocations: 3.938 kB / 0.5582 GB, free: 10.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.6385, allocations: 7.438 kB / 0.5582 GB, free: 10.42 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6386, allocations: 0 / 0.5582 GB, free: 10.42 MB / 378.7 MB Notification: Performance of Templates: time 0.004253/0.6428, allocations: 1.573 MB / 0.5597 GB, free: 8.875 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)