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.2762/0.2762, allocations: 54.33 MB / 66.89 MB, free: 6.094 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.001092/0.001092, allocations: 174.9 kB / 80.7 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.557/1.557, allocations: 194.2 MB / 288.6 MB, free: 15.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001735/0.001735, allocations: 108.6 kB / 346.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.437e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 57.65 MB / 470 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4673/0.6032, allocations: 86.89 MB / 0.5439 GB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004136/0.6037, allocations: 91.88 kB / 0.544 GB, free: 3.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009949/0.6137, allocations: 3.163 MB / 0.5471 GB, free: 284 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6138, allocations: 0 / 0.5471 GB, free: 284 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.6138, allocations: 4 kB / 0.5471 GB, free: 280 kB / 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.0005262/0.6143, allocations: 426.3 kB / 0.5475 GB, free: 15.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.6144, allocations: 19.95 kB / 0.5475 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.6144, allocations: 0 / 0.5475 GB, free: 15.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.6146, allocations: 178.4 kB / 0.5477 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.6146, allocations: 4 kB / 0.5477 GB, free: 15.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.6147, allocations: 4 kB / 0.5477 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6148, allocations: 81.56 kB / 0.5477 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6149, allocations: 0 / 0.5477 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6149, allocations: 0 / 0.5477 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6149, allocations: 0 / 0.5477 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.373e-05/0.615, allocations: 35.98 kB / 0.5478 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.6154, allocations: 280.9 kB / 0.548 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.238e-05/0.6156, allocations: 58.45 kB / 0.5481 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.436e-05/0.6156, allocations: 40.92 kB / 0.5481 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.6156, allocations: 3.938 kB / 0.5481 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.6157, allocations: 34.55 kB / 0.5482 GB, free: 14.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.6157, allocations: 0 / 0.5482 GB, free: 14.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000308/0.616, allocations: 139.3 kB / 0.5483 GB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.6161, allocations: 81.11 kB / 0.5484 GB, free: 14.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.6162, allocations: 113 kB / 0.5485 GB, free: 14.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6162, allocations: 29.7 kB / 0.5485 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.6163, allocations: 80.14 kB / 0.5486 GB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.6163, allocations: 15.84 kB / 0.5486 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.6163, allocations: 0 / 0.5486 GB, free: 14.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.6165, allocations: 314.8 kB / 0.5489 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.6166, allocations: 59.91 kB / 0.549 GB, free: 14.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.6167, allocations: 52.02 kB / 0.549 GB, free: 14.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.6168, allocations: 107.4 kB / 0.5491 GB, free: 13.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.6168, allocations: 0 / 0.5491 GB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000274/0.6171, allocations: 208.9 kB / 0.5493 GB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.6172, allocations: 63.39 kB / 0.5494 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6172, allocations: 0 / 0.5494 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6172, allocations: 3.938 kB / 0.5494 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.6173, allocations: 4.094 kB / 0.5494 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6173, allocations: 0 / 0.5494 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.6173, allocations: 12 kB / 0.5494 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.6174, allocations: 11.97 kB / 0.5494 GB, free: 13.59 MB / 394.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 () * 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.0001041/0.6175, allocations: 134.7 kB / 0.5495 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.6175, allocations: 11.86 kB / 0.5495 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.6176, allocations: 7.969 kB / 0.5496 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6176, allocations: 0 / 0.5496 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6176, allocations: 0 / 0.5496 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6176, allocations: 4 kB / 0.5496 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.6178, allocations: 173.6 kB / 0.5497 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.6178, allocations: 4 kB / 0.5497 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/0.6179, allocations: 7.984 kB / 0.5497 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6179, allocations: 0 / 0.5497 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.6179, allocations: 3.953 kB / 0.5497 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.6179, allocations: 8.062 kB / 0.5497 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6179, allocations: 0 / 0.5497 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.6182, allocations: 229.2 kB / 0.55 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.6182, allocations: 85.05 kB / 0.55 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.6183, allocations: 7.984 kB / 0.5501 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.6184, allocations: 11.95 kB / 0.5501 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.6185, allocations: 7.984 kB / 0.5501 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.6185, allocations: 0 / 0.5501 GB, free: 12.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.702e-05/0.6185, allocations: 91.28 kB / 0.5502 GB, free: 12.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6186, allocations: 3.938 kB / 0.5502 GB, free: 12.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000355/0.6189, allocations: 75.92 kB / 0.5502 GB, free: 12.64 MB / 394.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) * 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.0003342/0.6193, allocations: 159.1 kB / 0.5504 GB, free: 12.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.6196, allocations: 226.8 kB / 0.5506 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6196, allocations: 0 / 0.5506 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.6197, allocations: 103.4 kB / 0.5507 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.6199, allocations: 7.797 kB / 0.5507 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.6203, allocations: 124.8 kB / 0.5508 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.6206, allocations: 0.6926 MB / 0.5515 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.6207, allocations: 4.062 kB / 0.5515 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.6207, allocations: 7.438 kB / 0.5515 GB, free: 11.23 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6207, allocations: 0 / 0.5515 GB, free: 11.23 MB / 394.7 MB Notification: Performance of Templates: time 0.004403/0.6251, allocations: 1.597 MB / 0.5531 GB, free: 9.645 MB / 394.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)