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.001006/0.001006, allocations: 99.92 kB / 16.35 MB, free: 5.824 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.001073/0.001073, allocations: 193 kB / 17.29 MB, free: 5.48 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7511/0.7511, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001222, allocations: 63.91 kB / 0.5067 GB, free: 7.629 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2958, allocations: 80.91 MB / 0.5858 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04595/0.3417, allocations: 60.71 MB / 0.6451 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01818/0.36, allocations: 14.64 MB / 0.6593 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.3619, allocations: 63.62 kB / 0.6594 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.3637, allocations: 0.714 MB / 0.6601 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005646/0.3693, allocations: 2.247 MB / 0.6623 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.3732, allocations: 1.674 MB / 0.6639 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004823/0.378, allocations: 4.034 MB / 0.6679 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.3798, allocations: 1.282 MB / 0.6691 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.3831, allocations: 1.579 MB / 0.6707 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.3846, allocations: 1.085 MB / 0.6717 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.3848, allocations: 136 kB / 0.6719 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003061/0.3878, allocations: 1.712 MB / 0.6735 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.3882, allocations: 338.8 kB / 0.6738 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007911/0.3889, allocations: 0.7854 MB / 0.6746 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.3923, allocations: 2.715 MB / 0.6773 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3923, allocations: 0 / 0.6773 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.195e-05/0.3923, allocations: 0 / 0.6773 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.3924, allocations: 3.938 kB / 0.6773 GB, free: 12.74 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.002739/0.3951, allocations: 1.845 MB / 0.6791 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3951, allocations: 13.11 kB / 0.6791 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.3956, allocations: 162.5 kB / 0.6792 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.3976, allocations: 1.308 MB / 0.6805 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/0.3977, allocations: 62 kB / 0.6806 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3978, allocations: 95.92 kB / 0.6807 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3992, allocations: 0.9514 MB / 0.6816 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3992, allocations: 0 / 0.6816 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.3993, allocations: 36 kB / 0.6816 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.3994, allocations: 27.94 kB / 0.6817 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.4005, allocations: 0.6674 MB / 0.6823 GB, free: 7.414 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.005141/0.4056, allocations: 5.232 MB / 0.6874 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007371/0.4064, allocations: 405.2 kB / 0.6878 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.4067, allocations: 242.1 kB / 0.688 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.408, allocations: 1.587 MB / 0.6896 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4081, allocations: 43 kB / 0.6896 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.4081, allocations: 0 / 0.6896 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002231/0.4103, allocations: 0.9368 MB / 0.6905 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4104, allocations: 59.84 kB / 0.6906 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.4116, allocations: 1.001 MB / 0.6916 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.4117, allocations: 33.7 kB / 0.6916 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.4121, allocations: 0.5892 MB / 0.6922 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4123, allocations: 189.2 kB / 0.6924 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.4125, allocations: 138.1 kB / 0.6925 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4126, allocations: 337.9 kB / 0.6928 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.413, allocations: 203.7 kB / 0.693 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.4134, allocations: 400.9 kB / 0.6934 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/0.4143, allocations: 0.6256 MB / 0.694 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.4143, allocations: 7.938 kB / 0.694 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001601/0.4159, allocations: 0.8226 MB / 0.6948 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4159, allocations: 8 kB / 0.6948 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.416, allocations: 8 kB / 0.6948 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.4165, allocations: 109 kB / 0.6949 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.4169, allocations: 143.7 kB / 0.6951 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004427/0.4174, allocations: 0.5991 MB / 0.6957 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.418, allocations: 75.3 kB / 0.6957 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.418, allocations: 35.98 kB / 0.6958 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006175/0.4187, allocations: 433.7 kB / 0.6962 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000452/0.4191, allocations: 400.9 kB / 0.6966 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008308/0.42, allocations: 0.6217 MB / 0.6972 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.42, allocations: 4 kB / 0.6972 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001521/0.4215, allocations: 0.834 MB / 0.698 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.4215, allocations: 8 kB / 0.698 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.4216, allocations: 8.141 kB / 0.698 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.422, allocations: 109.2 kB / 0.6981 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.4224, allocations: 143.7 kB / 0.6982 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003965/0.4228, allocations: 0.5953 MB / 0.6988 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005762/0.4234, allocations: 63.48 kB / 0.6989 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.4235, allocations: 39.98 kB / 0.6989 GB, free: 5.125 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.0002103/0.4237, allocations: 221.4 kB / 0.6991 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.4239, allocations: 106.7 kB / 0.6992 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.4258, allocations: 1.064 MB / 0.7003 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4259, allocations: 8 kB / 0.7003 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.4259, allocations: 3.984 kB / 0.7003 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.4271, allocations: 0.8031 MB / 0.7011 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.4303, allocations: 2.098 MB / 0.7031 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.4303, allocations: 0 / 0.7031 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.4307, allocations: 108 kB / 0.7032 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/0.431, allocations: 72.69 kB / 0.7033 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.4311, allocations: 23.98 kB / 0.7033 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003904/0.4314, allocations: 0.5836 MB / 0.7039 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4315, allocations: 0 / 0.7039 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.4335, allocations: 1.315 MB / 0.7052 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.434, allocations: 299.3 kB / 0.7055 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.4342, allocations: 24 kB / 0.7055 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.4348, allocations: 24.06 kB / 0.7055 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4349, allocations: 64.41 kB / 0.7056 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-05/0.435, allocations: 27.98 kB / 0.7056 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001126/0.4361, allocations: 0.6882 MB / 0.7063 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4361, allocations: 0 / 0.7063 GB, free: 13.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0019/0.438, allocations: 0.7445 MB / 0.707 GB, free: 12.68 MB / 0.545 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.001189/0.4392, allocations: 0.5763 MB / 0.7075 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.4411, allocations: 1.048 MB / 0.7086 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4411, allocations: 4 kB / 0.7086 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.4417, allocations: 423.2 kB / 0.709 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.444, allocations: 0.6094 MB / 0.7096 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.4472, allocations: 2.132 MB / 0.7117 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.448, allocations: 1.133 MB / 0.7128 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008788/0.4489, allocations: 312 kB / 0.7131 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4491, allocations: 111.3 kB / 0.7132 GB, free: 6.309 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.4491, allocations: 0 / 0.7132 GB, free: 6.309 MB / 0.545 GB Notification: Performance of Templates: time 0.04278/0.4919, allocations: 27.96 MB / 0.7405 GB, free: 10.66 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)