Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002975/0.002974, allocations: 195.5 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.36 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1838, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3738/0.5577, allocations: 60.33 MB / 0.6426 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.577, allocations: 14.73 MB / 0.657 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003011/0.5801, allocations: 56.66 kB / 0.6571 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.5821, allocations: 0.5789 MB / 0.6576 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006065/0.5882, allocations: 2.078 MB / 0.6597 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.5924, allocations: 1.496 MB / 0.6611 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007629/0.6001, allocations: 5.266 MB / 0.6663 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002729/0.6028, allocations: 1.057 MB / 0.6673 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004453/0.6073, allocations: 1.354 MB / 0.6686 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.6105, allocations: 1.083 MB / 0.6697 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000617/0.6111, allocations: 64.62 kB / 0.6697 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.6167, allocations: 1.597 MB / 0.6713 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.6175, allocations: 277.9 kB / 0.6716 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002908/0.6204, allocations: 0.7174 MB / 0.6723 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.6283, allocations: 2.648 MB / 0.6749 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6283, allocations: 1.125 kB / 0.6749 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6283, allocations: 0 / 0.6749 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001092/0.6284, allocations: 0 / 0.6749 GB, free: 1.074 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.006863/0.6353, allocations: 1.847 MB / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6354, allocations: 9.656 kB / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.6365, allocations: 163.9 kB / 0.6768 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.6402, allocations: 1.286 MB / 0.6781 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6403, allocations: 69.38 kB / 0.6781 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003372/0.6407, allocations: 94.45 kB / 0.6782 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.6434, allocations: 0.9563 MB / 0.6792 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.6435, allocations: 2.125 kB / 0.6792 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.6436, allocations: 41.62 kB / 0.6792 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.6437, allocations: 22.75 kB / 0.6792 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.6454, allocations: 0.6662 MB / 0.6799 GB, free: 14.16 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008155/0.6535, allocations: 5.206 MB / 0.685 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.6545, allocations: 396.9 kB / 0.6853 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.655, allocations: 246.4 kB / 0.6856 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.6565, allocations: 1.588 MB / 0.6871 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.6566, allocations: 42.84 kB / 0.6872 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.626e-06/0.6566, allocations: 3.938 kB / 0.6872 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002861/0.6595, allocations: 0.9333 MB / 0.6881 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6595, allocations: 57.94 kB / 0.6881 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.6617, allocations: 0.9893 MB / 0.6891 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.6618, allocations: 37.61 kB / 0.6891 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.6625, allocations: 0.5726 MB / 0.6897 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.6627, allocations: 192.6 kB / 0.6899 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.663, allocations: 139.9 kB / 0.69 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6631, allocations: 337.4 kB / 0.6903 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.6636, allocations: 208.9 kB / 0.6905 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.6643, allocations: 402.3 kB / 0.6909 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.6654, allocations: 0.6238 MB / 0.6915 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.6655, allocations: 6.812 kB / 0.6915 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002577/0.668, allocations: 0.8243 MB / 0.6923 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6681, allocations: 8.25 kB / 0.6924 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.6681, allocations: 7.672 kB / 0.6924 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/0.6688, allocations: 104.2 kB / 0.6925 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.6693, allocations: 141.6 kB / 0.6926 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005901/0.6699, allocations: 0.5987 MB / 0.6932 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.6713, allocations: 120.1 kB / 0.6933 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.6714, allocations: 34.16 kB / 0.6933 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001023/0.6724, allocations: 446.8 kB / 0.6938 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006419/0.6731, allocations: 394.5 kB / 0.6941 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009955/0.6741, allocations: 0.6295 MB / 0.6947 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.6741, allocations: 2.438 kB / 0.6947 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002193/0.6763, allocations: 0.8187 MB / 0.6955 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.6763, allocations: 8.375 kB / 0.6956 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/0.6764, allocations: 8.969 kB / 0.6956 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.6769, allocations: 112.3 kB / 0.6957 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.6775, allocations: 144.5 kB / 0.6958 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005529/0.678, allocations: 0.5966 MB / 0.6964 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6793, allocations: 93.05 kB / 0.6965 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.6794, allocations: 39.56 kB / 0.6965 GB, free: 2.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003517/0.6798, allocations: 220.2 kB / 0.6967 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/0.6802, allocations: 110.9 kB / 0.6968 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.6828, allocations: 1.065 MB / 0.6979 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/0.6828, allocations: 14.8 kB / 0.6979 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6828, allocations: 0 / 0.6979 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.6843, allocations: 0.8039 MB / 0.6987 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.6895, allocations: 2.091 MB / 0.7007 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.6895, allocations: 2.531 kB / 0.7007 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.6899, allocations: 103.6 kB / 0.7008 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.6903, allocations: 68.5 kB / 0.7009 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.6904, allocations: 19.95 kB / 0.7009 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005031/0.6909, allocations: 0.59 MB / 0.7015 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.691, allocations: 0 / 0.7015 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.6937, allocations: 1.32 MB / 0.7028 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.6946, allocations: 296.9 kB / 0.703 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.695, allocations: 12.47 kB / 0.7031 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6962, allocations: 90.44 kB / 0.7031 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.6964, allocations: 53.53 kB / 0.7032 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6965, allocations: 39.67 kB / 0.7032 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001669/0.6981, allocations: 0.6743 MB / 0.7039 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6982, allocations: 0 / 0.7039 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003556/0.7017, allocations: 0.735 MB / 0.7046 GB, free: 14.04 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002021/0.7038, allocations: 0.5676 MB / 0.7052 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.7062, allocations: 1.046 MB / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7062, allocations: 0 / 0.7062 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007873/0.707, allocations: 428.7 kB / 0.7066 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/0.7107, allocations: 0.5693 MB / 0.7072 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.7156, allocations: 2.627 MB / 0.7097 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.7168, allocations: 1.132 MB / 0.7108 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00169/0.7185, allocations: 312.2 kB / 0.7111 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.7189, allocations: 113.4 kB / 0.7112 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of SimCode: time 1.253e-06/0.7189, allocations: 7.938 kB / 0.7112 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.04932/0.7682, allocations: 26.58 MB / 0.7372 GB, free: 472 kB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)