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.006762/0.006762, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7563/0.7563, allocations: 135.2 MB / 151 MB, free: 13.84 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.568/1.568, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009599/0.00096, allocations: 92.27 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4558, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.6191, allocations: 123.3 MB / 0.77 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.6194, allocations: 91.94 kB / 0.7701 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03367/0.6531, allocations: 11.29 MB / 0.7811 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6531, allocations: 0 / 0.7811 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.6531, allocations: 11.88 kB / 0.7811 GB, free: 13.2 MB / 0.5573 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.001511/0.6547, allocations: 0.6735 MB / 0.7818 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6547, allocations: 8.031 kB / 0.7818 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.475e-05/0.6548, allocations: 38.56 kB / 0.7818 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/0.6551, allocations: 55.55 kB / 0.7819 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6565, allocations: 0.6158 MB / 0.7825 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.6566, allocations: 15.94 kB / 0.7825 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.6566, allocations: 8 kB / 0.7825 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.657, allocations: 162.6 kB / 0.7826 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.657, allocations: 0 / 0.7826 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6571, allocations: 4 kB / 0.7826 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6571, allocations: 3.953 kB / 0.7826 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.6574, allocations: 131.9 kB / 0.7828 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.6583, allocations: 0.4964 MB / 0.7833 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.6587, allocations: 126.5 kB / 0.7834 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.6588, allocations: 7.984 kB / 0.7834 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6588, allocations: 42.5 kB / 0.7834 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.454e-06/0.6588, allocations: 0 / 0.7834 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0007249/0.6595, allocations: 245.4 kB / 0.7837 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.6596, allocations: 51.41 kB / 0.7837 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.6599, allocations: 287.7 kB / 0.784 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.66, allocations: 33.7 kB / 0.784 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.6601, allocations: 156.2 kB / 0.7842 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.6601, allocations: 31.55 kB / 0.7842 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.6601, allocations: 4 kB / 0.7842 GB, free: 9.824 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6603, allocations: 338.8 kB / 0.7845 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.6605, allocations: 71.89 kB / 0.7846 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.6608, allocations: 140.5 kB / 0.7847 GB, free: 9.246 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.661, allocations: 83.98 kB / 0.7848 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.661, allocations: 0 / 0.7848 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005626/0.6616, allocations: 261 kB / 0.785 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.6619, allocations: 0.7006 MB / 0.7857 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.6619, allocations: 4 kB / 0.7857 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6619, allocations: 3.953 kB / 0.7857 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000248/0.6622, allocations: 51.89 kB / 0.7858 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.6622, allocations: 8 kB / 0.7858 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.6624, allocations: 27.75 kB / 0.7858 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.6624, allocations: 15.98 kB / 0.7858 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.6624, allocations: 4 kB / 0.7858 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004945/0.6629, allocations: 215.7 kB / 0.786 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.663, allocations: 0 / 0.786 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.663, allocations: 7.938 kB / 0.7861 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.6632, allocations: 52.12 kB / 0.7861 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6632, allocations: 7.984 kB / 0.7861 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.6634, allocations: 23.78 kB / 0.7861 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.6634, allocations: 11.98 kB / 0.7861 GB, free: 7.723 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 () * Number of clocked 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 0.0001854/0.6636, allocations: 237 kB / 0.7864 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.6636, allocations: 23.72 kB / 0.7864 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.6642, allocations: 212.2 kB / 0.7866 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6642, allocations: 0 / 0.7866 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.6642, allocations: 0 / 0.7866 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6642, allocations: 3.938 kB / 0.7866 GB, free: 7.242 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6645, allocations: 273.4 kB / 0.7869 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6646, allocations: 0 / 0.7869 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.6647, allocations: 23.98 kB / 0.7869 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6647, allocations: 4 kB / 0.7869 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.6647, allocations: 0 / 0.7869 GB, free: 6.898 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6647, allocations: 7.984 kB / 0.7869 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6648, allocations: 0 / 0.7869 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.6652, allocations: 287 kB / 0.7872 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6653, allocations: 104.8 kB / 0.7873 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.6654, allocations: 8 kB / 0.7873 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.6655, allocations: 11.98 kB / 0.7873 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6656, allocations: 8.172 kB / 0.7873 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.6656, allocations: 8 kB / 0.7873 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00023/0.6658, allocations: 243 kB / 0.7875 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6658, allocations: 4 kB / 0.7875 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000771/0.6666, allocations: 175.8 kB / 0.7877 GB, free: 6.027 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 () * Number of clocked 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.00134/0.668, allocations: 1.105 MB / 0.7888 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007202/0.6687, allocations: 288.3 kB / 0.7891 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6687, allocations: 0 / 0.7891 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.6689, allocations: 67.95 kB / 0.7891 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.6693, allocations: 91.81 kB / 0.7892 GB, free: 4.469 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.6711, allocations: 1.935 MB / 0.7911 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.6716, allocations: 0.7758 MB / 0.7919 GB, free: 1.637 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.672, allocations: 79 kB / 0.7919 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.6721, allocations: 91.39 kB / 0.792 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of SimCode: time 6.72e-07/0.6721, allocations: 0 / 0.792 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3762/1.048, allocations: 10.93 MB / 0.8027 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.048, allocations: 181.5 kB / 0.8029 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/3.411, allocations: 6.047 kB / 0.8029 GB, free: 131.1 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)