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.00203/0.00203, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7433/0.7433, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.000919, allocations: 92.98 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.105e-05, allocations: 4.5 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2287, allocations: 82.31 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6788/0.9076, allocations: 112.7 MB / 0.7506 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.908, allocations: 98.03 kB / 0.7507 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009466/0.9174, allocations: 3.243 MB / 0.7539 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9175, allocations: 0 / 0.7539 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.9175, allocations: 3.844 kB / 0.7539 GB, free: 27.47 MB / 0.5105 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.0004451/0.9179, allocations: 432.8 kB / 0.7543 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.918, allocations: 11.59 kB / 0.7543 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.9181, allocations: 30.56 kB / 0.7543 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.9181, allocations: 7.844 kB / 0.7543 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.9182, allocations: 174.6 kB / 0.7545 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.9182, allocations: 0 / 0.7545 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.9183, allocations: 7.219 kB / 0.7545 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.9184, allocations: 67.83 kB / 0.7546 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.9184, allocations: 3.938 kB / 0.7546 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.9184, allocations: 0 / 0.7546 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.9185, allocations: 0 / 0.7546 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.9185, allocations: 41.2 kB / 0.7546 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.9189, allocations: 286.8 kB / 0.7549 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.919, allocations: 53.95 kB / 0.755 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.344e-05/0.9191, allocations: 44.33 kB / 0.755 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.9191, allocations: 0 / 0.755 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.9191, allocations: 34.5 kB / 0.755 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9191, allocations: 4 kB / 0.755 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002415/0.9194, allocations: 140.5 kB / 0.7552 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.9194, allocations: 77.11 kB / 0.7552 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.9195, allocations: 119.1 kB / 0.7554 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.9196, allocations: 25.7 kB / 0.7554 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.9196, allocations: 87.77 kB / 0.7555 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.9196, allocations: 3.906 kB / 0.7555 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.9196, allocations: 7.812 kB / 0.7555 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9198, allocations: 324.8 kB / 0.7558 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.9199, allocations: 50.84 kB / 0.7558 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.9199, allocations: 49.52 kB / 0.7559 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.427e-05/0.92, allocations: 113.1 kB / 0.756 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.92, allocations: 3.938 kB / 0.756 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002171/0.9202, allocations: 201.4 kB / 0.7562 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.524e-05/0.9203, allocations: 61.78 kB / 0.7562 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.9203, allocations: 0 / 0.7562 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9203, allocations: 6.562 kB / 0.7562 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.9204, allocations: 3.844 kB / 0.7563 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.9204, allocations: 4 kB / 0.7563 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.9205, allocations: 6.703 kB / 0.7563 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.9205, allocations: 3.844 kB / 0.7563 GB, free: 25.47 MB / 0.5105 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.0001008/0.9206, allocations: 141.3 kB / 0.7564 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.9206, allocations: 3.906 kB / 0.7564 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.9207, allocations: 10.89 kB / 0.7564 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9207, allocations: 3.984 kB / 0.7564 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9207, allocations: 0 / 0.7564 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9207, allocations: 4 kB / 0.7564 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.9209, allocations: 173.2 kB / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9209, allocations: 3.844 kB / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.972e-05/0.9209, allocations: 6.281 kB / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9209, allocations: 0 / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.9209, allocations: 3.938 kB / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9209, allocations: 0 / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9209, allocations: 0 / 0.7566 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.9212, allocations: 244.1 kB / 0.7568 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.9212, allocations: 81.02 kB / 0.7569 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.9212, allocations: 3.938 kB / 0.7569 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.9213, allocations: 6.828 kB / 0.7569 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/0.9214, allocations: 6.344 kB / 0.7569 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.9214, allocations: 3.594 kB / 0.7569 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.9215, allocations: 99.02 kB / 0.757 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9215, allocations: 0 / 0.757 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00031/0.9218, allocations: 75.66 kB / 0.7571 GB, free: 24.75 MB / 0.5105 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.0006197/0.9224, allocations: 0.8329 MB / 0.7579 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.9227, allocations: 223.3 kB / 0.7581 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9227, allocations: 0 / 0.7581 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.9228, allocations: 105.9 kB / 0.7582 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.9229, allocations: 5.891 kB / 0.7582 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.9233, allocations: 185.1 kB / 0.7584 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.9236, allocations: 0.6873 MB / 0.7591 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.483e-05/0.9236, allocations: 0 / 0.7591 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.63e-05/0.9237, allocations: 17.52 kB / 0.7591 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.9237, allocations: 0 / 0.7591 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.936, allocations: 2.484 MB / 0.7615 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.9363, allocations: 176.9 kB / 0.7617 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.499, allocations: 0 / 0.7617 GB, free: 21.77 MB / 0.5105 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)