Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005128/0.005128, allocations: 169.5 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.727/0.727, allocations: 135.2 MB / 151.1 MB, free: 13.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.45/1.45, allocations: 223.2 MB / 406.9 MB, free: 3.184 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.00103/0.00103, allocations: 100.7 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003467, allocations: 8 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4049, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.566, allocations: 123.3 MB / 0.7699 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5663, allocations: 87.95 kB / 0.77 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03252/0.5988, allocations: 11.29 MB / 0.781 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5988, allocations: 0 / 0.781 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.5989, allocations: 8 kB / 0.781 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.00141/0.6003, allocations: 0.6695 MB / 0.7817 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.6003, allocations: 15.97 kB / 0.7817 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003036/0.6007, allocations: 55.55 kB / 0.7818 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.6019, allocations: 0.6198 MB / 0.7824 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.602, allocations: 4 kB / 0.7824 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.602, allocations: 19.94 kB / 0.7824 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.6024, allocations: 158.6 kB / 0.7825 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6024, allocations: 0 / 0.7825 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.6024, allocations: 4 kB / 0.7825 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6024, allocations: 7.953 kB / 0.7826 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.6028, allocations: 127.9 kB / 0.7827 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.6036, allocations: 0.4965 MB / 0.7832 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.604, allocations: 130.5 kB / 0.7833 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.604, allocations: 4 kB / 0.7833 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.604, allocations: 34.56 kB / 0.7833 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.604, allocations: 0 / 0.7833 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0006709/0.6047, allocations: 245.3 kB / 0.7836 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.6048, allocations: 55.34 kB / 0.7836 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.6051, allocations: 291.6 kB / 0.7839 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.6051, allocations: 33.7 kB / 0.7839 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.6052, allocations: 152 kB / 0.7841 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.6052, allocations: 31.55 kB / 0.7841 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.6053, allocations: 4 kB / 0.7841 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6054, allocations: 334.8 kB / 0.7844 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6056, allocations: 67.95 kB / 0.7845 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/0.6058, allocations: 145.1 kB / 0.7846 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.6061, allocations: 83.98 kB / 0.7847 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6061, allocations: 0 / 0.7847 GB, free: 9.211 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005309/0.6066, allocations: 257.1 kB / 0.7849 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.6069, allocations: 0.7086 MB / 0.7856 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6069, allocations: 4 kB / 0.7856 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6069, allocations: 0 / 0.7856 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.6072, allocations: 59.84 kB / 0.7857 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.6072, allocations: 4 kB / 0.7857 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.6074, allocations: 31.73 kB / 0.7857 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.6074, allocations: 15.98 kB / 0.7857 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-06/0.6074, allocations: 4 kB / 0.7857 GB, free: 8.074 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004832/0.6079, allocations: 219.7 kB / 0.786 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.6079, allocations: 0 / 0.786 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/0.6079, allocations: 4 kB / 0.786 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.6081, allocations: 48.12 kB / 0.786 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.6081, allocations: 4 kB / 0.786 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.6083, allocations: 31.77 kB / 0.786 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.6083, allocations: 11.98 kB / 0.7861 GB, free: 7.762 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.0001792/0.6085, allocations: 229.1 kB / 0.7863 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.6086, allocations: 31.59 kB / 0.7863 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.6091, allocations: 216.5 kB / 0.7865 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.6091, allocations: 0 / 0.7865 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6091, allocations: 0 / 0.7865 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6091, allocations: 3.984 kB / 0.7865 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.6094, allocations: 269.4 kB / 0.7868 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6094, allocations: 0 / 0.7868 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.6096, allocations: 31.97 kB / 0.7868 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6096, allocations: 0 / 0.7868 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.6096, allocations: 4 kB / 0.7868 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6096, allocations: 4 kB / 0.7868 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6096, allocations: 0 / 0.7868 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.6101, allocations: 287 kB / 0.7871 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.903e-05/0.6102, allocations: 108.8 kB / 0.7872 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.6102, allocations: 4 kB / 0.7872 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6104, allocations: 15.98 kB / 0.7872 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.6104, allocations: 4 kB / 0.7872 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.6105, allocations: 7.984 kB / 0.7872 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002121/0.6107, allocations: 239 kB / 0.7874 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6107, allocations: 192 / 0.7874 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007142/0.6114, allocations: 179.8 kB / 0.7876 GB, free: 6.066 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.0006313/0.6121, allocations: 390.5 kB / 0.788 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006997/0.6128, allocations: 292 kB / 0.7883 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6128, allocations: 4 kB / 0.7883 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.613, allocations: 67.89 kB / 0.7883 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.6134, allocations: 88.34 kB / 0.7884 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.6142, allocations: 0.5185 MB / 0.7889 GB, free: 4.691 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.6145, allocations: 0.7758 MB / 0.7897 GB, free: 3.887 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.6148, allocations: 91.03 kB / 0.7898 GB, free: 3.797 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.6149, allocations: 27.44 kB / 0.7898 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6149, allocations: 0 / 0.7898 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.3162/0.9311, allocations: 7.727 MB / 0.7973 GB, free: 132 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)