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-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_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="IDEAS_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.0009205/0.0009206, allocations: 174.6 kB / 7.647 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.7609/0.7609, allocations: 133.6 MB / 141.6 MB, free: 2.848 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.48/1.48, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.00105/0.001049, allocations: 111.4 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.403e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5176/0.5176, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.6675, allocations: 112.1 MB / 0.7434 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.6678, allocations: 95.94 kB / 0.7435 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.6779, allocations: 3.237 MB / 0.7466 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.093e-06/0.6779, allocations: 0 / 0.7466 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6779, allocations: 0 / 0.7466 GB, free: 7.242 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.0005271/0.6785, allocations: 429.7 kB / 0.7471 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6785, allocations: 11.97 kB / 0.7471 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.6786, allocations: 4 kB / 0.7471 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.6787, allocations: 170.9 kB / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.6788, allocations: 0 / 0.7472 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.6788, allocations: 7.938 kB / 0.7472 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001199/0.6789, allocations: 39.97 kB / 0.7473 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.679, allocations: 69.67 kB / 0.7473 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6791, allocations: 0 / 0.7473 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6791, allocations: 0 / 0.7473 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6791, allocations: 4 kB / 0.7474 GB, free: 6.418 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.6795, allocations: 253.4 kB / 0.7476 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.6796, allocations: 62.48 kB / 0.7477 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.6797, allocations: 40.92 kB / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.6797, allocations: 0 / 0.7477 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.6798, allocations: 34.56 kB / 0.7477 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.6798, allocations: 3.938 kB / 0.7477 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0002704/0.68, allocations: 113.5 kB / 0.7478 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.6801, allocations: 77.11 kB / 0.7479 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.6802, allocations: 113 kB / 0.748 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.6802, allocations: 25.7 kB / 0.748 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.6803, allocations: 88.14 kB / 0.7481 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.6803, allocations: 3.906 kB / 0.7481 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.6803, allocations: 4.031 kB / 0.7481 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6805, allocations: 322.8 kB / 0.7484 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.6806, allocations: 47.97 kB / 0.7485 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.6806, allocations: 51.92 kB / 0.7485 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.6807, allocations: 55.91 kB / 0.7486 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6808, allocations: 0 / 0.7486 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000222/0.681, allocations: 149.5 kB / 0.7487 GB, free: 4.887 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.6811, allocations: 59.41 kB / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6811, allocations: 0 / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6811, allocations: 0 / 0.7488 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.6812, allocations: 11.98 kB / 0.7488 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.6812, allocations: 0 / 0.7488 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.6812, allocations: 8 kB / 0.7488 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.6813, allocations: 8 kB / 0.7488 GB, free: 4.789 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.0001061/0.6814, allocations: 138.6 kB / 0.7489 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001784/0.6816, allocations: 113.5 kB / 0.7491 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.6816, allocations: 4 kB / 0.7491 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.6816, allocations: 8.375 kB / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.6816, allocations: 64 / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6816, allocations: 4 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6817, allocations: 0 / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.6818, allocations: 154.2 kB / 0.7492 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6818, allocations: 4 kB / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.6819, allocations: 4 kB / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6819, allocations: 0 / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.6819, allocations: 0 / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6819, allocations: 0 / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6819, allocations: 0 / 0.7492 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.6821, allocations: 219.4 kB / 0.7494 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.6822, allocations: 77.11 kB / 0.7495 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.6822, allocations: 0 / 0.7495 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.6823, allocations: 8 kB / 0.7495 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6824, allocations: 7.984 kB / 0.7495 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.6824, allocations: 0 / 0.7495 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.6825, allocations: 111.6 kB / 0.7496 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6825, allocations: 3.938 kB / 0.7496 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003432/0.6829, allocations: 63.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.0006941/0.6836, allocations: 0.8021 MB / 0.7505 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6838, allocations: 218.8 kB / 0.7507 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6838, allocations: 4.031 kB / 0.7507 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.6839, allocations: 103.3 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.0001584/0.6841, allocations: 2.812 kB / 0.7508 GB, free: 2.609 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.6846, allocations: 185.4 kB / 0.751 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.6849, allocations: 0.6924 MB / 0.7516 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.6849, allocations: 0 / 0.7516 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.6849, allocations: 11.44 kB / 0.7517 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6849, allocations: 64 / 0.7517 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.7074, allocations: 2.114 MB / 0.7537 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.7077, allocations: 162.8 kB / 0.7539 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.388, allocations: 0 / 0.7539 GB, free: 15.37 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)