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.001892/0.001893, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002138/0.002138, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.553/1.553, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.17 kB / 0.5049 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1798, allocations: 80.92 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.4239/0.6037, allocations: 60.2 MB / 0.6427 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01914/0.6229, allocations: 14.54 MB / 0.6569 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002916/0.6259, allocations: 60.28 kB / 0.6569 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.6281, allocations: 0.6131 MB / 0.6575 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005976/0.6341, allocations: 2.087 MB / 0.6596 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.6385, allocations: 1.531 MB / 0.6611 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006167/0.6446, allocations: 4.056 MB / 0.665 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.6469, allocations: 1.262 MB / 0.6663 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.6513, allocations: 1.598 MB / 0.6678 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.6533, allocations: 1.12 MB / 0.6689 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.6536, allocations: 132 kB / 0.669 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.658, allocations: 1.727 MB / 0.6707 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/0.6584, allocations: 341.8 kB / 0.6711 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.6596, allocations: 0.7914 MB / 0.6718 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005429/0.6651, allocations: 2.712 MB / 0.6745 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6651, allocations: 0 / 0.6745 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6651, allocations: 3.938 kB / 0.6745 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.416e-05/0.6652, allocations: 0 / 0.6745 GB, free: 0.5625 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.003792/0.669, allocations: 1.844 MB / 0.6763 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.669, allocations: 10.42 kB / 0.6763 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.6696, allocations: 160.9 kB / 0.6764 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.672, allocations: 1.286 MB / 0.6777 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.6721, allocations: 66.31 kB / 0.6778 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.6723, allocations: 87.78 kB / 0.6778 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.6743, allocations: 0.9611 MB / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.6744, allocations: 3.453 kB / 0.6788 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.6745, allocations: 36 kB / 0.6788 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.6746, allocations: 27.28 kB / 0.6788 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.676, allocations: 0.6657 MB / 0.6795 GB, free: 13.65 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.007542/0.6836, allocations: 5.214 MB / 0.6846 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009802/0.6846, allocations: 393.6 kB / 0.685 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004884/0.6851, allocations: 249.8 kB / 0.6852 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001714/0.6868, allocations: 1.587 MB / 0.6868 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.6868, allocations: 39.72 kB / 0.6868 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.885e-06/0.6869, allocations: 0 / 0.6868 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002827/0.6897, allocations: 0.9396 MB / 0.6877 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.6897, allocations: 56.94 kB / 0.6878 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.6915, allocations: 0.985 MB / 0.6887 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/0.6916, allocations: 42.41 kB / 0.6888 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007159/0.6923, allocations: 0.5717 MB / 0.6893 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.6926, allocations: 193.6 kB / 0.6895 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.6929, allocations: 140.8 kB / 0.6896 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.693, allocations: 332.1 kB / 0.69 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.6935, allocations: 200.5 kB / 0.6902 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/0.6942, allocations: 410.1 kB / 0.6905 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.6953, allocations: 0.6207 MB / 0.6911 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6953, allocations: 6.156 kB / 0.6912 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00198/0.6973, allocations: 0.8234 MB / 0.692 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.6973, allocations: 13.03 kB / 0.692 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.6973, allocations: 14.06 kB / 0.692 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/0.698, allocations: 106.1 kB / 0.6921 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.6985, allocations: 136.9 kB / 0.6922 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006654/0.6992, allocations: 0.5997 MB / 0.6928 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.7003, allocations: 115.2 kB / 0.6929 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/0.7004, allocations: 39.69 kB / 0.6929 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008144/0.7013, allocations: 442.3 kB / 0.6934 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005596/0.7018, allocations: 393 kB / 0.6937 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009345/0.7028, allocations: 0.6273 MB / 0.6944 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.7028, allocations: 1.188 kB / 0.6944 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001902/0.7047, allocations: 0.8271 MB / 0.6952 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7047, allocations: 8.453 kB / 0.6952 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.7047, allocations: 12.95 kB / 0.6952 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/0.7053, allocations: 111.3 kB / 0.6953 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.7057, allocations: 140.5 kB / 0.6954 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/0.7062, allocations: 0.5922 MB / 0.696 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009914/0.7072, allocations: 96.8 kB / 0.6961 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.7073, allocations: 39.88 kB / 0.6961 GB, free: 1.66 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.0003174/0.7076, allocations: 219.8 kB / 0.6963 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.7079, allocations: 111.3 kB / 0.6965 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.7102, allocations: 1.069 MB / 0.6975 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.7102, allocations: 15.25 kB / 0.6975 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.7102, allocations: 4 kB / 0.6975 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.7117, allocations: 0.7989 MB / 0.6983 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.7159, allocations: 2.089 MB / 0.7003 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.7159, allocations: 2.125 kB / 0.7003 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.7163, allocations: 101.8 kB / 0.7004 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003286/0.7167, allocations: 67 kB / 0.7005 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-05/0.7167, allocations: 24.91 kB / 0.7005 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004509/0.7172, allocations: 0.5846 MB / 0.7011 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7172, allocations: 5.094 kB / 0.7011 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.7195, allocations: 1.324 MB / 0.7024 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/0.7201, allocations: 292 kB / 0.7027 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.7203, allocations: 16.53 kB / 0.7027 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.721, allocations: 91.47 kB / 0.7028 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7212, allocations: 48.98 kB / 0.7028 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-05/0.7212, allocations: 35.5 kB / 0.7029 GB, free: 14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001175/0.7224, allocations: 0.6757 MB / 0.7035 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7224, allocations: 0 / 0.7035 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00244/0.7249, allocations: 0.7353 MB / 0.7042 GB, free: 13.53 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.0014/0.7263, allocations: 0.5672 MB / 0.7048 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.7288, allocations: 1.103 MB / 0.7059 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.7288, allocations: 0 / 0.7059 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/0.7294, allocations: 437.5 kB / 0.7063 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.7321, allocations: 0.594 MB / 0.7069 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.736, allocations: 2.628 MB / 0.7094 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.7367, allocations: 1.132 MB / 0.7105 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001237/0.7379, allocations: 317.8 kB / 0.7108 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.7382, allocations: 107 kB / 0.7109 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.7382, allocations: 0 / 0.7109 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of Templates: time 0.04862/0.7868, allocations: 27.5 MB / 0.7378 GB, free: 15.98 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)