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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 173.9 kB / 7.648 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.7676/0.7676, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.574/1.574, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009273/0.0009274, allocations: 100.2 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.399e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.527/0.527, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.6784, allocations: 112.1 MB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.6787, allocations: 95.92 kB / 0.7435 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009745/0.6885, allocations: 3.233 MB / 0.7466 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6885, allocations: 0 / 0.7466 GB, free: 7.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.6885, allocations: 0 / 0.7466 GB, free: 7.25 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.0004472/0.689, allocations: 433.7 kB / 0.7471 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6891, allocations: 11.97 kB / 0.7471 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.6891, allocations: 4 kB / 0.7471 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.6893, allocations: 174.9 kB / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6893, allocations: 0 / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.6893, allocations: 4 kB / 0.7472 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.6894, allocations: 35.98 kB / 0.7473 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.6895, allocations: 69.67 kB / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6895, allocations: 0 / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6896, allocations: 0 / 0.7473 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.6896, allocations: 3.984 kB / 0.7473 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.69, allocations: 261.4 kB / 0.7476 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.6901, allocations: 58.5 kB / 0.7477 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.026e-05/0.6902, allocations: 44.91 kB / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.6902, allocations: 0 / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.6902, allocations: 38.56 kB / 0.7477 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6902, allocations: 0 / 0.7477 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002697/0.6905, allocations: 101.6 kB / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.6906, allocations: 81.11 kB / 0.7479 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.491e-05/0.6907, allocations: 113 kB / 0.748 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6907, allocations: 33.64 kB / 0.748 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.6907, allocations: 84.14 kB / 0.7481 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.6908, allocations: 7.906 kB / 0.7481 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.6908, allocations: 0 / 0.7481 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6909, allocations: 322.8 kB / 0.7484 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.691, allocations: 51.97 kB / 0.7485 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.691, allocations: 55.86 kB / 0.7485 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.6911, allocations: 55.97 kB / 0.7486 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6912, allocations: 0 / 0.7486 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002292/0.6914, allocations: 145.5 kB / 0.7487 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.6915, allocations: 61.28 kB / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.6915, allocations: 4 kB / 0.7488 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6915, allocations: 0 / 0.7488 GB, free: 4.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.6916, allocations: 7.984 kB / 0.7488 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.6916, allocations: 0 / 0.7488 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.6916, allocations: 4 kB / 0.7488 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.6917, allocations: 8 kB / 0.7488 GB, free: 4.793 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 9.39e-05/0.6918, allocations: 144.3 kB / 0.749 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001748/0.6919, allocations: 117.5 kB / 0.7491 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.692, allocations: 4.078 kB / 0.7491 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.692, allocations: 8.344 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.692, allocations: 0 / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.692, allocations: 0 / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.692, allocations: 0 / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6922, allocations: 154.2 kB / 0.7492 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6922, allocations: 4.031 kB / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.6922, allocations: 4 kB / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6922, allocations: 0 / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.6922, allocations: 4 kB / 0.7492 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.6923, allocations: 0 / 0.7492 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6923, allocations: 0 / 0.7492 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.6925, allocations: 211.4 kB / 0.7494 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.6925, allocations: 81.11 kB / 0.7495 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.6926, allocations: 4.031 kB / 0.7495 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.6926, allocations: 8.062 kB / 0.7495 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.721e-05/0.6927, allocations: 11.92 kB / 0.7495 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.6927, allocations: 4 kB / 0.7495 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.259e-05/0.6928, allocations: 95.2 kB / 0.7496 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6928, allocations: 0 / 0.7496 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003415/0.6931, allocations: 71.88 kB / 0.7497 GB, free: 3.797 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.0006292/0.6938, allocations: 0.8021 MB / 0.7505 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.694, allocations: 222.8 kB / 0.7507 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.694, allocations: 7.875 kB / 0.7507 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.6941, allocations: 95.39 kB / 0.7508 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.6943, allocations: 6.625 kB / 0.7508 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004619/0.6948, allocations: 181.6 kB / 0.751 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.6951, allocations: 0.6924 MB / 0.7517 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.582e-05/0.6951, allocations: 0 / 0.7517 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.6951, allocations: 11.44 kB / 0.7517 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6951, allocations: 0 / 0.7517 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.7164, allocations: 2.108 MB / 0.7537 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.7167, allocations: 167.7 kB / 0.7539 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.375, allocations: 3.938 kB / 0.7539 GB, free: 15.37 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)