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.0009585/0.0009587, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009473/0.009473, allocations: 171.1 kB / 16.26 MB, free: 6.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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9674/0.9674, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003767, allocations: 12.66 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1912, allocations: 82.3 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.4541/0.6453, allocations: 59.23 MB / 0.6458 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.663, allocations: 14.54 MB / 0.66 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.6662, allocations: 52.16 kB / 0.6601 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002661/0.6689, allocations: 0.5839 MB / 0.6606 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007393/0.6764, allocations: 2.072 MB / 0.6627 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005046/0.6814, allocations: 1.505 MB / 0.6641 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007607/0.689, allocations: 5.266 MB / 0.6693 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.6914, allocations: 1.035 MB / 0.6703 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.6954, allocations: 1.325 MB / 0.6716 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002994/0.6984, allocations: 1.048 MB / 0.6726 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005456/0.699, allocations: 51.72 kB / 0.6727 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.7048, allocations: 1.581 MB / 0.6742 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008984/0.7057, allocations: 265.4 kB / 0.6745 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002374/0.7081, allocations: 0.709 MB / 0.6751 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.7163, allocations: 2.606 MB / 0.6777 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7163, allocations: 0 / 0.6777 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7163, allocations: 4 kB / 0.6777 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001148/0.7165, allocations: 1.188 kB / 0.6777 GB, free: 15.47 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.006056/0.7225, allocations: 1.574 MB / 0.6792 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.7226, allocations: 9.797 kB / 0.6792 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.7236, allocations: 168.8 kB / 0.6794 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/0.7275, allocations: 1.273 MB / 0.6806 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.7276, allocations: 69.06 kB / 0.6807 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.728, allocations: 88.88 kB / 0.6808 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.731, allocations: 0.9635 MB / 0.6817 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.7311, allocations: 2.266 kB / 0.6817 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.7312, allocations: 37.62 kB / 0.6818 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.7313, allocations: 30.55 kB / 0.6818 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.7329, allocations: 0.6655 MB / 0.6825 GB, free: 12.73 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.008732/0.7417, allocations: 5.214 MB / 0.6875 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/0.7426, allocations: 402.5 kB / 0.6879 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.7431, allocations: 244.3 kB / 0.6882 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001827/0.745, allocations: 1.602 MB / 0.6897 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.7451, allocations: 37.91 kB / 0.6898 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.436e-06/0.7451, allocations: 3.938 kB / 0.6898 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003082/0.7482, allocations: 0.9507 MB / 0.6907 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.7482, allocations: 62.47 kB / 0.6908 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00238/0.7506, allocations: 0.989 MB / 0.6917 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.7508, allocations: 36.55 kB / 0.6918 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006926/0.7515, allocations: 0.5737 MB / 0.6923 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.7518, allocations: 189 kB / 0.6925 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.7519, allocations: 57.47 kB / 0.6926 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.752, allocations: 332.3 kB / 0.6929 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004212/0.7524, allocations: 196.8 kB / 0.6931 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.753, allocations: 408.8 kB / 0.6934 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.7541, allocations: 0.6285 MB / 0.6941 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7541, allocations: 5.125 kB / 0.6941 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002185/0.7563, allocations: 0.8331 MB / 0.6949 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.7565, allocations: 259.3 kB / 0.6951 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.7565, allocations: 7.672 kB / 0.6951 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.7571, allocations: 111.2 kB / 0.6952 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.7576, allocations: 142.6 kB / 0.6954 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005398/0.7582, allocations: 0.5977 MB / 0.696 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.7594, allocations: 114.5 kB / 0.6961 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.7596, allocations: 39.38 kB / 0.6961 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.7596, allocations: 8.031 kB / 0.6961 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00166/0.7612, allocations: 0.7041 MB / 0.6968 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.7613, allocations: 8.828 kB / 0.6968 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/0.7618, allocations: 112.4 kB / 0.6969 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.7623, allocations: 141 kB / 0.697 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005652/0.7629, allocations: 0.6001 MB / 0.6976 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.7641, allocations: 105.9 kB / 0.6977 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.7643, allocations: 38.84 kB / 0.6978 GB, free: 1.5 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.0008752/0.7652, allocations: 377.3 kB / 0.6981 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.7656, allocations: 110.8 kB / 0.6982 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.7682, allocations: 1.064 MB / 0.6993 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.7683, allocations: 10.27 kB / 0.6993 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.7683, allocations: 5.188 kB / 0.6993 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/0.7698, allocations: 0.805 MB / 0.7001 GB, free: 332 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005432/0.7752, allocations: 2.094 MB / 0.7021 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.7753, allocations: 7.156 kB / 0.7021 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.7757, allocations: 99.59 kB / 0.7022 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/0.7761, allocations: 69.05 kB / 0.7023 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.7762, allocations: 20.89 kB / 0.7023 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004938/0.7767, allocations: 0.5889 MB / 0.7029 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7767, allocations: 1.25 kB / 0.7029 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002669/0.7794, allocations: 1.33 MB / 0.7042 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009469/0.7803, allocations: 318.4 kB / 0.7045 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/0.7808, allocations: 16.25 kB / 0.7045 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.782, allocations: 81.75 kB / 0.7046 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7822, allocations: 62.98 kB / 0.7046 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.7823, allocations: 34.81 kB / 0.7047 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001673/0.784, allocations: 0.6722 MB / 0.7053 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.784, allocations: 0 / 0.7053 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003987/0.788, allocations: 0.7349 MB / 0.7061 GB, free: 13.29 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.002222/0.7902, allocations: 0.5569 MB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002784/0.793, allocations: 1.06 MB / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7931, allocations: 1.625 kB / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008268/0.7939, allocations: 421.8 kB / 0.708 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/0.7983, allocations: 0.5765 MB / 0.7086 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006316/0.8046, allocations: 2.711 MB / 0.7112 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.8058, allocations: 1.14 MB / 0.7124 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002267/0.8081, allocations: 314.4 kB / 0.7127 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005704/0.8087, allocations: 107 kB / 0.7128 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of SimCode: time 2.235e-06/0.8087, allocations: 0 / 0.7128 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of Templates: time 0.05526/0.864, allocations: 26.45 MB / 0.7386 GB, free: 1.004 MB / 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)