Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_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_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.001519/0.001519, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7698/0.7698, allocations: 130.7 MB / 138.7 MB, free: 3.602 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.643/1.643, allocations: 221.5 MB / 391.8 MB, free: 14.19 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.0009664/0.0009664, allocations: 93.53 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.402e-05, allocations: 7.984 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6272, allocations: 81.57 MB / 0.6282 GB, free: 42.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.7989, allocations: 111.8 MB / 0.7374 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.7993, allocations: 99.92 kB / 0.7375 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.81, allocations: 3.24 MB / 0.7407 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/0.81, allocations: 0 / 0.7407 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.8101, allocations: 0 / 0.7407 GB, free: 11.59 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.0005758/0.8106, allocations: 429.7 kB / 0.7411 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.8107, allocations: 8.031 kB / 0.7411 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.8108, allocations: 4 kB / 0.7411 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.8109, allocations: 171.8 kB / 0.7412 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.811, allocations: 1.312 kB / 0.7412 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.811, allocations: 0 / 0.7412 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/0.8111, allocations: 47.91 kB / 0.7413 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.8113, allocations: 69.67 kB / 0.7414 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8113, allocations: 0 / 0.7414 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8113, allocations: 3.938 kB / 0.7414 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8113, allocations: 0 / 0.7414 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.8118, allocations: 261.4 kB / 0.7416 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.812, allocations: 58.55 kB / 0.7417 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.812, allocations: 40.92 kB / 0.7417 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.8121, allocations: 0 / 0.7417 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.8121, allocations: 34.5 kB / 0.7417 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.8121, allocations: 0 / 0.7417 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003407/0.8124, allocations: 105.6 kB / 0.7418 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.8125, allocations: 85.05 kB / 0.7419 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8127, allocations: 110.7 kB / 0.742 GB, free: 10 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.8127, allocations: 33.73 kB / 0.7421 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.8127, allocations: 84.14 kB / 0.7421 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.8128, allocations: 11.89 kB / 0.7421 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.8128, allocations: 0 / 0.7421 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.813, allocations: 318.8 kB / 0.7425 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.813, allocations: 51.97 kB / 0.7425 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.8131, allocations: 43.98 kB / 0.7425 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.8132, allocations: 55.95 kB / 0.7426 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8133, allocations: 0 / 0.7426 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002498/0.8135, allocations: 149.5 kB / 0.7427 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.437e-05/0.8136, allocations: 63.41 kB / 0.7428 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8136, allocations: 0 / 0.7428 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.8136, allocations: 7.984 kB / 0.7428 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.8137, allocations: 4 kB / 0.7428 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.8137, allocations: 0 / 0.7428 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.8138, allocations: 4 kB / 0.7428 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.8138, allocations: 4 kB / 0.7428 GB, free: 9.148 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.0001421/0.814, allocations: 146.6 kB / 0.743 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.814, allocations: 7.906 kB / 0.743 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.814, allocations: 8.344 kB / 0.743 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.8141, allocations: 4 kB / 0.743 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8141, allocations: 96 / 0.743 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8141, allocations: 3.984 kB / 0.743 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.8142, allocations: 150.2 kB / 0.7431 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8143, allocations: 0 / 0.7431 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.937e-05/0.8143, allocations: 4 kB / 0.7431 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8143, allocations: 4 kB / 0.7431 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.8143, allocations: 0 / 0.7431 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.8143, allocations: 4 kB / 0.7431 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8143, allocations: 0 / 0.7431 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/0.8146, allocations: 207.4 kB / 0.7433 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.8147, allocations: 84.97 kB / 0.7434 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.8147, allocations: 4 kB / 0.7434 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.8148, allocations: 12.09 kB / 0.7434 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.8149, allocations: 7.984 kB / 0.7434 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.8149, allocations: 4 kB / 0.7434 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.772e-05/0.815, allocations: 95.27 kB / 0.7435 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.815, allocations: 0 / 0.7435 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003417/0.8153, allocations: 67.88 kB / 0.7436 GB, free: 8.262 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.0003701/0.8157, allocations: 164.8 kB / 0.7438 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.816, allocations: 222.7 kB / 0.744 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8161, allocations: 7.938 kB / 0.744 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.8162, allocations: 95.39 kB / 0.7441 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.8164, allocations: 7.938 kB / 0.7441 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.8167, allocations: 115.9 kB / 0.7442 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004069/0.8171, allocations: 0.6885 MB / 0.7449 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.8172, allocations: 0 / 0.7449 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.8172, allocations: 7.438 kB / 0.7449 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.8172, allocations: 0 / 0.7449 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of Templates: time 0.004637/0.8218, allocations: 1.526 MB / 0.7464 GB, free: 5.348 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)