Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.00101/0.00101, allocations: 173.7 kB / 7.646 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.7355/0.7355, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.418/1.418, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009579/0.0009578, allocations: 102.2 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.218e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4733, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.6282, allocations: 122.6 MB / 0.7537 GB, free: 32 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.6285, allocations: 88.02 kB / 0.7537 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03344/0.6619, allocations: 11.05 MB / 0.7645 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.662, allocations: 4 kB / 0.7645 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.662, allocations: 7.938 kB / 0.7645 GB, free: 4.863 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008402/0.6628, allocations: 0.5289 MB / 0.7651 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6629, allocations: 11.97 kB / 0.7651 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.6632, allocations: 55.53 kB / 0.7651 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.6647, allocations: 0.6128 MB / 0.7657 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.6647, allocations: 0 / 0.7657 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.6647, allocations: 8 kB / 0.7657 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002457/0.665, allocations: 115.9 kB / 0.7658 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.6652, allocations: 131.5 kB / 0.766 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.6652, allocations: 0 / 0.766 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.6653, allocations: 7.891 kB / 0.766 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.6653, allocations: 8 kB / 0.766 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.6662, allocations: 464.9 kB / 0.7664 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.6665, allocations: 138.5 kB / 0.7666 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.6666, allocations: 64.83 kB / 0.7666 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.6667, allocations: 4 kB / 0.7666 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6667, allocations: 30.56 kB / 0.7667 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.6667, allocations: 0 / 0.7667 GB, free: 2.555 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000602/0.6673, allocations: 185.3 kB / 0.7668 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.6674, allocations: 51.41 kB / 0.7669 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.6677, allocations: 265.2 kB / 0.7671 GB, free: 2.039 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.6677, allocations: 29.7 kB / 0.7672 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.6678, allocations: 156.3 kB / 0.7673 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.6679, allocations: 27.64 kB / 0.7673 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.6679, allocations: 0 / 0.7673 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6681, allocations: 334.8 kB / 0.7677 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.6682, allocations: 67.97 kB / 0.7677 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.6683, allocations: 132.5 kB / 0.7678 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.6686, allocations: 93.19 kB / 0.7679 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6686, allocations: 0 / 0.7679 GB, free: 1.168 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004927/0.6691, allocations: 249.1 kB / 0.7682 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.6695, allocations: 0.6995 MB / 0.7689 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6695, allocations: 0 / 0.7689 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6695, allocations: 4 kB / 0.7689 GB, free: 164 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.6698, allocations: 51.89 kB / 0.7689 GB, free: 112 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6698, allocations: 7.953 kB / 0.7689 GB, free: 104 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.67, allocations: 27.73 kB / 0.7689 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.67, allocations: 20 kB / 0.769 GB, free: 56 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.67, allocations: 4 kB / 0.769 GB, free: 52 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003548/0.6704, allocations: 159.7 kB / 0.7691 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.6704, allocations: 4 kB / 0.7691 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-06/0.6704, allocations: 0 / 0.7691 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.6706, allocations: 56.11 kB / 0.7692 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.6706, allocations: 0 / 0.7692 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.6708, allocations: 19.92 kB / 0.7692 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.6708, allocations: 12 kB / 0.7692 GB, free: 15.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * 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.581e-05/0.6709, allocations: 108.9 kB / 0.7693 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000253/0.6712, allocations: 133.2 kB / 0.7694 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.6712, allocations: 23.72 kB / 0.7695 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.6716, allocations: 168.2 kB / 0.7696 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.6716, allocations: 3.984 kB / 0.7696 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6716, allocations: 0 / 0.7696 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6716, allocations: 0 / 0.7696 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.6719, allocations: 242.1 kB / 0.7699 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6719, allocations: 4 kB / 0.7699 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.6721, allocations: 31.92 kB / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6721, allocations: 0 / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6721, allocations: 0 / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6721, allocations: 3.984 kB / 0.7699 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6721, allocations: 0 / 0.7699 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.6724, allocations: 231.2 kB / 0.7701 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.6725, allocations: 124.6 kB / 0.7702 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.6725, allocations: 4 kB / 0.7702 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.6727, allocations: 11.98 kB / 0.7702 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6727, allocations: 7.984 kB / 0.7703 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6728, allocations: 4 kB / 0.7703 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001904/0.673, allocations: 208.6 kB / 0.7705 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.673, allocations: 0 / 0.7705 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006862/0.6737, allocations: 175.7 kB / 0.7706 GB, free: 14.26 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.00106/0.6747, allocations: 1.029 MB / 0.7716 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.6751, allocations: 238.5 kB / 0.7719 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6752, allocations: 4.125 kB / 0.7719 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.6752, allocations: 51.92 kB / 0.7719 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.6757, allocations: 91.06 kB / 0.772 GB, free: 12.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.6765, allocations: 438.3 kB / 0.7724 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.6769, allocations: 0.7801 MB / 0.7732 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004267/0.6773, allocations: 121.9 kB / 0.7733 GB, free: 11.44 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.6774, allocations: 87.39 kB / 0.7734 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.6774, allocations: 0 / 0.7734 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.7083, allocations: 9.293 MB / 0.7825 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.7086, allocations: 138.5 kB / 0.7826 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.846, allocations: 1.547 kB / 0.7826 GB, free: 1.953 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)