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.001587/0.001588, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.057/1.057, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 54.94 kB / 0.5054 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1847, allocations: 80.93 MB / 0.5844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.411/0.5958, allocations: 60.7 MB / 0.6437 GB, free: 19.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.6139, allocations: 14.64 MB / 0.6579 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.6175, allocations: 57.22 kB / 0.658 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.62, allocations: 0.7148 MB / 0.6587 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006974/0.6269, allocations: 2.254 MB / 0.6609 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.6326, allocations: 1.668 MB / 0.6625 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007719/0.6403, allocations: 4.024 MB / 0.6665 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.6428, allocations: 1.277 MB / 0.6677 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.6478, allocations: 1.583 MB / 0.6693 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.6504, allocations: 1.084 MB / 0.6703 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.6509, allocations: 133.2 kB / 0.6704 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004231/0.6551, allocations: 1.708 MB / 0.6721 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.6555, allocations: 335 kB / 0.6724 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.6567, allocations: 0.7849 MB / 0.6732 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.6621, allocations: 2.698 MB / 0.6758 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.6621, allocations: 0 / 0.6758 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6621, allocations: 0 / 0.6758 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.6622, allocations: 6.266 kB / 0.6758 GB, free: 15.94 MB / 0.5137 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.004038/0.6662, allocations: 1.844 MB / 0.6776 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6662, allocations: 8.938 kB / 0.6776 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.6669, allocations: 161.1 kB / 0.6778 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.6694, allocations: 1.261 MB / 0.679 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.6695, allocations: 69.91 kB / 0.6791 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.6697, allocations: 84.7 kB / 0.6792 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.6716, allocations: 0.9539 MB / 0.6801 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/0.6716, allocations: 6.75 kB / 0.6801 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.6717, allocations: 35.38 kB / 0.6801 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-05/0.6718, allocations: 24.2 kB / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.6732, allocations: 0.6624 MB / 0.6808 GB, free: 13.05 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.007586/0.6808, allocations: 5.258 MB / 0.686 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/0.6817, allocations: 400 kB / 0.6863 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/0.6822, allocations: 245.5 kB / 0.6866 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/0.6839, allocations: 1.59 MB / 0.6881 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/0.684, allocations: 47.08 kB / 0.6882 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.625e-06/0.684, allocations: 0 / 0.6882 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002824/0.6868, allocations: 0.9381 MB / 0.6891 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6869, allocations: 56.91 kB / 0.6891 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.6885, allocations: 0.9974 MB / 0.6901 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.6886, allocations: 38.08 kB / 0.6901 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.6892, allocations: 0.5807 MB / 0.6907 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.6895, allocations: 192.9 kB / 0.6909 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.6897, allocations: 140.1 kB / 0.691 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6899, allocations: 336.1 kB / 0.6914 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.6904, allocations: 205.2 kB / 0.6915 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.691, allocations: 403.1 kB / 0.6919 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.6921, allocations: 0.6277 MB / 0.6925 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6921, allocations: 2.688 kB / 0.6925 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001946/0.6941, allocations: 0.8257 MB / 0.6934 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.6941, allocations: 8.172 kB / 0.6934 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.6942, allocations: 8.781 kB / 0.6934 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.6948, allocations: 102.6 kB / 0.6935 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.6952, allocations: 141.8 kB / 0.6936 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005471/0.6958, allocations: 0.5989 MB / 0.6942 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008971/0.6967, allocations: 78.56 kB / 0.6943 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.6968, allocations: 35.42 kB / 0.6943 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000829/0.6976, allocations: 439.1 kB / 0.6947 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006099/0.6982, allocations: 400.6 kB / 0.6951 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009888/0.6992, allocations: 0.6239 MB / 0.6957 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.128e-06/0.6993, allocations: 1.812 kB / 0.6957 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001875/0.7011, allocations: 0.8319 MB / 0.6965 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.7012, allocations: 7.125 kB / 0.6965 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.7012, allocations: 8.641 kB / 0.6965 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.7017, allocations: 115.9 kB / 0.6966 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.7022, allocations: 140.4 kB / 0.6968 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005116/0.7027, allocations: 0.5922 MB / 0.6974 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.7036, allocations: 59.05 kB / 0.6974 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.7037, allocations: 38.84 kB / 0.6975 GB, free: 1.047 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.0003335/0.704, allocations: 234 kB / 0.6977 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.7043, allocations: 111.1 kB / 0.6978 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.7066, allocations: 1.051 MB / 0.6988 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/0.7066, allocations: 13.83 kB / 0.6988 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7067, allocations: 1.062 kB / 0.6988 GB, free: 368 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.708, allocations: 0.8172 MB / 0.6996 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.7119, allocations: 2.079 MB / 0.7016 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.7119, allocations: 6.141 kB / 0.7017 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.7123, allocations: 109.4 kB / 0.7018 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003177/0.7127, allocations: 71.25 kB / 0.7018 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/0.7127, allocations: 19.22 kB / 0.7018 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004419/0.7132, allocations: 0.5932 MB / 0.7024 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7132, allocations: 9.109 kB / 0.7024 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.7155, allocations: 1.313 MB / 0.7037 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000517/0.716, allocations: 297.5 kB / 0.704 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.7162, allocations: 18.34 kB / 0.704 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7167, allocations: 26.42 kB / 0.704 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7168, allocations: 54 kB / 0.7041 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.7169, allocations: 31.12 kB / 0.7041 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001113/0.718, allocations: 0.6924 MB / 0.7048 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.718, allocations: 0 / 0.7048 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002543/0.7206, allocations: 0.7429 MB / 0.7055 GB, free: 12.91 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.001327/0.7219, allocations: 0.5735 MB / 0.7061 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.7243, allocations: 1.114 MB / 0.7072 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7243, allocations: 0 / 0.7072 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.7249, allocations: 425.6 kB / 0.7076 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.7277, allocations: 0.5963 MB / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.7312, allocations: 2.165 MB / 0.7103 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.7319, allocations: 1.132 MB / 0.7114 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00113/0.733, allocations: 304.8 kB / 0.7117 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.7332, allocations: 117.2 kB / 0.7118 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.7333, allocations: 3.938 kB / 0.7118 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of Templates: time 0.05711/0.7904, allocations: 27.97 MB / 0.7391 GB, free: 14.71 MB / 0.5606 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)