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.0009335/0.0009336, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.0009601/0.0009602, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7802/0.7802, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 60.14 kB / 0.5067 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.378, allocations: 80.92 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05053/0.4286, allocations: 60.72 MB / 0.6451 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02157/0.4502, allocations: 14.63 MB / 0.6593 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.4531, allocations: 63.62 kB / 0.6594 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.4556, allocations: 0.7141 MB / 0.6601 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00641/0.462, allocations: 2.258 MB / 0.6623 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.4668, allocations: 1.669 MB / 0.6639 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006093/0.4729, allocations: 4.026 MB / 0.6679 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.4748, allocations: 1.282 MB / 0.6691 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003822/0.4786, allocations: 1.584 MB / 0.6707 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0017/0.4803, allocations: 1.089 MB / 0.6717 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.4805, allocations: 132 kB / 0.6719 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.4839, allocations: 1.712 MB / 0.6735 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003329/0.4843, allocations: 334.8 kB / 0.6738 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009838/0.4853, allocations: 0.7893 MB / 0.6746 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004151/0.4894, allocations: 2.719 MB / 0.6773 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4894, allocations: 0 / 0.6773 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4894, allocations: 0 / 0.6773 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.4895, allocations: 0 / 0.6773 GB, free: 12.62 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.002805/0.4923, allocations: 1.841 MB / 0.6791 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.4923, allocations: 17.11 kB / 0.6791 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.4927, allocations: 166.5 kB / 0.6792 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.4949, allocations: 1.31 MB / 0.6805 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.046e-05/0.4949, allocations: 66 kB / 0.6806 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4951, allocations: 84 kB / 0.6807 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4965, allocations: 0.9514 MB / 0.6816 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.4966, allocations: 4 kB / 0.6816 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.4967, allocations: 36 kB / 0.6816 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.4967, allocations: 35.86 kB / 0.6817 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4978, allocations: 0.6519 MB / 0.6823 GB, free: 7.309 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.005096/0.5029, allocations: 5.236 MB / 0.6874 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.5037, allocations: 401.2 kB / 0.6878 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.504, allocations: 252.5 kB / 0.688 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.5054, allocations: 1.583 MB / 0.6896 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.5054, allocations: 39 kB / 0.6896 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.5054, allocations: 4 kB / 0.6896 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=53): time 0.002227/0.5077, allocations: 0.9368 MB / 0.6905 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.5077, allocations: 63.84 kB / 0.6906 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.509, allocations: 1.005 MB / 0.6916 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.509, allocations: 37.7 kB / 0.6916 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.5095, allocations: 0.5774 MB / 0.6922 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.5096, allocations: 185.3 kB / 0.6924 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5098, allocations: 146.1 kB / 0.6925 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5099, allocations: 333.9 kB / 0.6928 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/0.5103, allocations: 199.7 kB / 0.693 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.5108, allocations: 408.9 kB / 0.6934 GB, free: 11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000865/0.5116, allocations: 0.6256 MB / 0.694 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5117, allocations: 3.938 kB / 0.694 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001597/0.5133, allocations: 0.8225 MB / 0.6948 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5133, allocations: 8 kB / 0.6948 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.5133, allocations: 8 kB / 0.6948 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.5138, allocations: 113.2 kB / 0.6949 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.5143, allocations: 143.7 kB / 0.6951 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004459/0.5147, allocations: 0.5991 MB / 0.6957 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005898/0.5153, allocations: 71.3 kB / 0.6957 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.5154, allocations: 36.05 kB / 0.6958 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006136/0.516, allocations: 445.7 kB / 0.6962 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004701/0.5165, allocations: 396.9 kB / 0.6966 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008458/0.5174, allocations: 0.6217 MB / 0.6972 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.5174, allocations: 4 kB / 0.6972 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001511/0.5189, allocations: 0.8222 MB / 0.698 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5189, allocations: 8 kB / 0.698 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5189, allocations: 11.98 kB / 0.698 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004389/0.5194, allocations: 117.2 kB / 0.6981 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.5198, allocations: 135.8 kB / 0.6982 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004196/0.5202, allocations: 0.5953 MB / 0.6988 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005682/0.5208, allocations: 63.48 kB / 0.6989 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.5209, allocations: 35.98 kB / 0.6989 GB, free: 5.02 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.000196/0.5211, allocations: 224 kB / 0.6991 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.5213, allocations: 110.7 kB / 0.6992 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.5232, allocations: 1.068 MB / 0.7003 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5232, allocations: 11.98 kB / 0.7003 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5232, allocations: 0 / 0.7003 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.5245, allocations: 0.8107 MB / 0.7011 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.5275, allocations: 2.079 MB / 0.7031 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.5275, allocations: 4 kB / 0.7031 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.5279, allocations: 107.9 kB / 0.7032 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.5282, allocations: 80.67 kB / 0.7033 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.5282, allocations: 23.94 kB / 0.7033 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003864/0.5286, allocations: 0.5836 MB / 0.7039 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5287, allocations: 8.078 kB / 0.7039 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5306, allocations: 1.307 MB / 0.7052 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.531, allocations: 295.3 kB / 0.7055 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.5311, allocations: 19.92 kB / 0.7055 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005093/0.5316, allocations: 27.98 kB / 0.7055 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.5318, allocations: 48.48 kB / 0.7056 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.5318, allocations: 35.98 kB / 0.7056 GB, free: 14.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009006/0.5327, allocations: 0.6843 MB / 0.7063 GB, free: 13.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.313e-06/0.5327, allocations: 8 kB / 0.7063 GB, free: 13.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001678/0.5344, allocations: 0.7405 MB / 0.707 GB, free: 12.57 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.001006/0.5354, allocations: 0.5805 MB / 0.7076 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001716/0.5372, allocations: 1.049 MB / 0.7086 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5372, allocations: 0 / 0.7086 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000566/0.5378, allocations: 438.5 kB / 0.709 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.5399, allocations: 0.5889 MB / 0.7096 GB, free: 9.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.543, allocations: 2.139 MB / 0.7117 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.5436, allocations: 1.133 MB / 0.7128 GB, free: 6.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008619/0.5445, allocations: 308.5 kB / 0.7131 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.5447, allocations: 103.4 kB / 0.7132 GB, free: 6.203 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.5447, allocations: 0 / 0.7132 GB, free: 6.203 MB / 0.545 GB Notification: Performance of Templates: time 0.04528/0.59, allocations: 27.96 MB / 0.7405 GB, free: 10.57 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)