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.000946/0.0009463, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001088/0.001088, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 11.98 kB / 0.507 GB, free: 5.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.402/0.6078, allocations: 56.01 MB / 0.6421 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.6253, allocations: 13.69 MB / 0.6555 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.6288, allocations: 60.66 kB / 0.6555 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.6313, allocations: 0.4914 MB / 0.656 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/0.638, allocations: 1.778 MB / 0.6577 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.6431, allocations: 1.21 MB / 0.6589 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007635/0.6507, allocations: 4.514 MB / 0.6633 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.653, allocations: 0.9078 MB / 0.6642 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003966/0.657, allocations: 1.267 MB / 0.6654 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.6595, allocations: 0.9848 MB / 0.6664 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.6597, allocations: 51.53 kB / 0.6665 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.6649, allocations: 1.212 MB / 0.6676 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004414/0.6654, allocations: 237.8 kB / 0.6679 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.6662, allocations: 315.9 kB / 0.6682 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.6701, allocations: 1.905 MB / 0.67 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.6701, allocations: 3.938 kB / 0.67 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.524e-06/0.6701, allocations: 1.031 kB / 0.67 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.247e-05/0.6701, allocations: 0 / 0.67 GB, free: 4.516 MB / 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.003395/0.6735, allocations: 1.584 MB / 0.6716 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6736, allocations: 13.06 kB / 0.6716 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004273/0.674, allocations: 163.6 kB / 0.6717 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.6764, allocations: 1.256 MB / 0.673 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.6765, allocations: 66.03 kB / 0.673 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.6766, allocations: 84.56 kB / 0.6731 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.6785, allocations: 0.9525 MB / 0.674 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.6786, allocations: 3.219 kB / 0.674 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.6787, allocations: 36.67 kB / 0.6741 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.6787, allocations: 27.94 kB / 0.6741 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.68, allocations: 0.659 MB / 0.6748 GB, free: 1.809 MB / 0.4981 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.006582/0.6866, allocations: 5.223 MB / 0.6799 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008908/0.6875, allocations: 399.5 kB / 0.6802 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/0.6879, allocations: 236.5 kB / 0.6805 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.6895, allocations: 1.607 MB / 0.682 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.6896, allocations: 47.58 kB / 0.6821 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.637e-06/0.6896, allocations: 0 / 0.6821 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002664/0.6922, allocations: 0.9347 MB / 0.683 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.6923, allocations: 55.97 kB / 0.683 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.6941, allocations: 0.9799 MB / 0.684 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/0.6941, allocations: 37.17 kB / 0.684 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005968/0.6947, allocations: 0.5772 MB / 0.6846 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.695, allocations: 188.4 kB / 0.6848 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.695, allocations: 14.78 kB / 0.6848 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6952, allocations: 329.5 kB / 0.6851 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.6955, allocations: 196.6 kB / 0.6853 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.696, allocations: 401.8 kB / 0.6857 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.6965, allocations: 265.6 kB / 0.6859 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6965, allocations: 1.562 kB / 0.6859 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001872/0.6984, allocations: 0.8219 MB / 0.6867 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.6987, allocations: 262.4 kB / 0.687 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.6987, allocations: 9.266 kB / 0.687 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.6993, allocations: 112 kB / 0.6871 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.6998, allocations: 141.7 kB / 0.6872 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005875/0.7004, allocations: 0.5999 MB / 0.6878 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.7016, allocations: 114.9 kB / 0.6879 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.7017, allocations: 36.83 kB / 0.688 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.7017, allocations: 6.5 kB / 0.688 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/0.7034, allocations: 0.6921 MB / 0.6886 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.7034, allocations: 8.562 kB / 0.6887 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004566/0.7038, allocations: 112.3 kB / 0.6888 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.7043, allocations: 140.9 kB / 0.6889 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004805/0.7048, allocations: 0.605 MB / 0.6895 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.7058, allocations: 104.6 kB / 0.6896 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.972e-05/0.7059, allocations: 35.89 kB / 0.6896 GB, free: 6.953 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009227/0.7068, allocations: 376.1 kB / 0.69 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.707, allocations: 119.5 kB / 0.6901 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.7093, allocations: 1.062 MB / 0.6911 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/0.7094, allocations: 10.34 kB / 0.6911 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7094, allocations: 0 / 0.6911 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/0.7109, allocations: 0.8071 MB / 0.6919 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/0.715, allocations: 2.094 MB / 0.694 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.715, allocations: 3.688 kB / 0.694 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.7155, allocations: 108.7 kB / 0.6941 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.7158, allocations: 68.09 kB / 0.6941 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.7159, allocations: 22.95 kB / 0.6942 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004506/0.7163, allocations: 0.5862 MB / 0.6947 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.7164, allocations: 1.531 kB / 0.6947 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.7187, allocations: 1.312 MB / 0.696 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/0.7193, allocations: 319.9 kB / 0.6963 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.7195, allocations: 13.09 kB / 0.6963 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/0.7201, allocations: 82.42 kB / 0.6964 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.7203, allocations: 55.83 kB / 0.6965 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.7203, allocations: 30.28 kB / 0.6965 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001206/0.7215, allocations: 0.6676 MB / 0.6972 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7216, allocations: 4 kB / 0.6972 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002609/0.7242, allocations: 0.73 MB / 0.6979 GB, free: 2.734 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.7255, allocations: 0.5486 MB / 0.6984 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.7276, allocations: 1.044 MB / 0.6994 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7276, allocations: 0 / 0.6994 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.7283, allocations: 425.9 kB / 0.6998 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.7311, allocations: 0.5783 MB / 0.7004 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.7352, allocations: 2.712 MB / 0.703 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008183/0.7361, allocations: 1.132 MB / 0.7042 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00135/0.7374, allocations: 311 kB / 0.7044 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.7377, allocations: 114 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/0.7377, allocations: 0 / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.05729/0.795, allocations: 25.79 MB / 0.7297 GB, free: 9.891 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)