Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001319/0.001319, allocations: 113.1 kB / 16.37 MB, free: 6.012 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.00212/0.00212, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7929/0.7929, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4566, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05174/0.5084, allocations: 60.72 MB / 0.6408 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02175/0.5302, allocations: 14.63 MB / 0.6551 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.5333, allocations: 63.62 kB / 0.6551 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.5355, allocations: 0.714 MB / 0.6558 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008412/0.5439, allocations: 2.25 MB / 0.658 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.5496, allocations: 1.676 MB / 0.6597 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005595/0.5552, allocations: 4.035 MB / 0.6636 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.5571, allocations: 1.282 MB / 0.6649 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.5608, allocations: 1.574 MB / 0.6664 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001872/0.5627, allocations: 1.093 MB / 0.6675 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/0.563, allocations: 132 kB / 0.6676 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.5669, allocations: 1.716 MB / 0.6693 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.5673, allocations: 334.8 kB / 0.6696 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5683, allocations: 0.7815 MB / 0.6704 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.5736, allocations: 2.719 MB / 0.673 GB, free: 276 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5737, allocations: 4 kB / 0.673 GB, free: 272 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5737, allocations: 0 / 0.673 GB, free: 272 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.5737, allocations: 0 / 0.673 GB, free: 272 kB / 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.003291/0.577, allocations: 1.853 MB / 0.6748 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5771, allocations: 8.031 kB / 0.6748 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005205/0.5776, allocations: 166.4 kB / 0.675 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.5799, allocations: 1.304 MB / 0.6763 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.58, allocations: 62 kB / 0.6763 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.5801, allocations: 84 kB / 0.6764 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.5816, allocations: 0.9592 MB / 0.6773 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5817, allocations: 7.844 kB / 0.6773 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.5818, allocations: 36 kB / 0.6774 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.5818, allocations: 27.94 kB / 0.6774 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5829, allocations: 0.6674 MB / 0.6781 GB, free: 10.93 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.005646/0.5886, allocations: 5.216 MB / 0.6832 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.5894, allocations: 404.5 kB / 0.6835 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003611/0.5897, allocations: 240.1 kB / 0.6838 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.5911, allocations: 1.595 MB / 0.6853 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5911, allocations: 39 kB / 0.6854 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.736e-06/0.5911, allocations: 0 / 0.6854 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002414/0.5935, allocations: 0.9368 MB / 0.6863 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.5936, allocations: 67.78 kB / 0.6863 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.595, allocations: 0.9967 MB / 0.6873 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.941e-05/0.595, allocations: 37.7 kB / 0.6874 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.5955, allocations: 0.5893 MB / 0.6879 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.5957, allocations: 185.3 kB / 0.6881 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.5959, allocations: 138.1 kB / 0.6882 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.596, allocations: 334 kB / 0.6886 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.5964, allocations: 211.7 kB / 0.6888 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.5969, allocations: 396.9 kB / 0.6891 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/0.5978, allocations: 0.6178 MB / 0.6897 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.5978, allocations: 7.938 kB / 0.6897 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001736/0.5995, allocations: 0.8224 MB / 0.6906 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5996, allocations: 8 kB / 0.6906 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.5996, allocations: 8 kB / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.6002, allocations: 113.2 kB / 0.6907 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.6006, allocations: 139.8 kB / 0.6908 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000492/0.6011, allocations: 0.6069 MB / 0.6914 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.6018, allocations: 79.27 kB / 0.6915 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.6019, allocations: 39.98 kB / 0.6915 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006829/0.6026, allocations: 430.3 kB / 0.6919 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004786/0.6031, allocations: 406.3 kB / 0.6923 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008308/0.6039, allocations: 0.6295 MB / 0.6929 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.357e-06/0.604, allocations: 0 / 0.6929 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001738/0.6057, allocations: 0.8184 MB / 0.6937 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6057, allocations: 8 kB / 0.6937 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.6058, allocations: 8.469 kB / 0.6937 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.6062, allocations: 104.8 kB / 0.6938 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.6067, allocations: 143.8 kB / 0.694 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000451/0.6072, allocations: 0.5992 MB / 0.6946 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.6079, allocations: 59.42 kB / 0.6946 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.608, allocations: 39.98 kB / 0.6947 GB, free: 8.664 MB / 0.5294 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.0002595/0.6083, allocations: 220 kB / 0.6949 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.6085, allocations: 110.6 kB / 0.695 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.6106, allocations: 1.072 MB / 0.696 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.6106, allocations: 8 kB / 0.696 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6106, allocations: 0 / 0.696 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.6119, allocations: 0.7991 MB / 0.6968 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.6153, allocations: 2.11 MB / 0.6989 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.6153, allocations: 0 / 0.6989 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.6157, allocations: 95.89 kB / 0.699 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.6161, allocations: 76.67 kB / 0.699 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.6161, allocations: 19.98 kB / 0.6991 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004092/0.6165, allocations: 0.5915 MB / 0.6996 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6166, allocations: 64 / 0.6996 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.6186, allocations: 1.315 MB / 0.7009 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.6191, allocations: 303.2 kB / 0.7012 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.6193, allocations: 15.94 kB / 0.7012 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.6198, allocations: 23.97 kB / 0.7012 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6199, allocations: 52.5 kB / 0.7013 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.62, allocations: 31.97 kB / 0.7013 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009962/0.621, allocations: 0.6921 MB / 0.702 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.621, allocations: 3.938 kB / 0.702 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001852/0.6229, allocations: 0.7445 MB / 0.7027 GB, free: 224 kB / 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.001118/0.624, allocations: 0.5661 MB / 0.7033 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.6259, allocations: 1.056 MB / 0.7043 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6259, allocations: 0 / 0.7043 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.6265, allocations: 422.5 kB / 0.7047 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.6288, allocations: 0.6003 MB / 0.7053 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003249/0.6321, allocations: 2.138 MB / 0.7074 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.6328, allocations: 1.129 MB / 0.7085 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009323/0.6337, allocations: 310.6 kB / 0.7088 GB, free: 9.957 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.6339, allocations: 115.4 kB / 0.7089 GB, free: 9.848 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.6339, allocations: 3.938 kB / 0.7089 GB, free: 9.844 MB / 0.545 GB Notification: Performance of Templates: time 0.04467/0.6786, allocations: 27.95 MB / 0.7362 GB, free: 14.26 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)