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.008501/0.008501, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001566/0.001566, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9701/0.9701, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 64.08 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5293, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06445/0.5938, allocations: 60.72 MB / 0.7239 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.6149, allocations: 14.63 MB / 0.7382 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002965/0.6179, allocations: 63.62 kB / 0.7383 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002209/0.6202, allocations: 0.7297 MB / 0.739 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006979/0.6272, allocations: 2.363 MB / 0.7413 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.6322, allocations: 1.681 MB / 0.7429 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006335/0.6385, allocations: 4.044 MB / 0.7469 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.641, allocations: 1.29 MB / 0.7481 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.6453, allocations: 1.628 MB / 0.7497 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002345/0.6477, allocations: 1.081 MB / 0.7508 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005019/0.6482, allocations: 136 kB / 0.7509 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004333/0.6525, allocations: 1.716 MB / 0.7526 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006493/0.6532, allocations: 338.8 kB / 0.7529 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.6547, allocations: 0.7893 MB / 0.7537 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.6598, allocations: 2.721 MB / 0.7564 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6599, allocations: 0 / 0.7564 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6599, allocations: 0 / 0.7564 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.598e-05/0.6599, allocations: 0 / 0.7564 GB, free: 3.414 MB / 0.5762 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.003562/0.6635, allocations: 1.837 MB / 0.7581 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6636, allocations: 12.03 kB / 0.7582 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005341/0.6641, allocations: 170.2 kB / 0.7583 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.6664, allocations: 1.308 MB / 0.7596 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/0.6665, allocations: 70 kB / 0.7597 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6666, allocations: 87.91 kB / 0.7597 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.6682, allocations: 0.9553 MB / 0.7607 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.6683, allocations: 7.938 kB / 0.7607 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.617e-05/0.6684, allocations: 35.94 kB / 0.7607 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.518e-05/0.6684, allocations: 28 kB / 0.7607 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6696, allocations: 0.6596 MB / 0.7614 GB, free: 14.09 MB / 0.5919 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.005652/0.6753, allocations: 5.22 MB / 0.7665 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.676, allocations: 397.9 kB / 0.7669 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.6764, allocations: 246 kB / 0.7671 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.6777, allocations: 1.595 MB / 0.7687 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6778, allocations: 39 kB / 0.7687 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/0.6778, allocations: 0 / 0.7687 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53): time 0.002292/0.6801, allocations: 0.9368 MB / 0.7696 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.6801, allocations: 59.84 kB / 0.7697 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6816, allocations: 0.9967 MB / 0.7706 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.6816, allocations: 37.7 kB / 0.7707 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.6821, allocations: 0.5814 MB / 0.7712 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.6823, allocations: 185.3 kB / 0.7714 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.6825, allocations: 150.1 kB / 0.7716 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6826, allocations: 330 kB / 0.7719 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.683, allocations: 203.7 kB / 0.7721 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.6835, allocations: 401 kB / 0.7725 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009069/0.6844, allocations: 0.6294 MB / 0.7731 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6844, allocations: 7.875 kB / 0.7731 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001738/0.6861, allocations: 0.8149 MB / 0.7739 GB, free: 268 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6862, allocations: 8 kB / 0.7739 GB, free: 260 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/0.6862, allocations: 8 kB / 0.7739 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/0.6868, allocations: 109 kB / 0.774 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.6872, allocations: 151.8 kB / 0.7741 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/0.6877, allocations: 0.6029 MB / 0.7747 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.6884, allocations: 75.2 kB / 0.7748 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.6885, allocations: 35.98 kB / 0.7748 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006746/0.6892, allocations: 437.7 kB / 0.7753 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004889/0.6897, allocations: 405.9 kB / 0.7756 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008693/0.6906, allocations: 0.6256 MB / 0.7763 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.839e-06/0.6906, allocations: 4 kB / 0.7763 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001712/0.6923, allocations: 0.8145 MB / 0.7771 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6923, allocations: 8 kB / 0.7771 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.6924, allocations: 11.98 kB / 0.7771 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005033/0.6929, allocations: 113.2 kB / 0.7772 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.6933, allocations: 143.8 kB / 0.7773 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004474/0.6938, allocations: 0.5991 MB / 0.7779 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.6944, allocations: 55.52 kB / 0.778 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.6945, allocations: 40.05 kB / 0.778 GB, free: 11.81 MB / 0.6075 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.0002073/0.6947, allocations: 220.1 kB / 0.7782 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.695, allocations: 114.6 kB / 0.7783 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.697, allocations: 1.067 MB / 0.7794 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.697, allocations: 8 kB / 0.7794 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.697, allocations: 0 / 0.7794 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001274/0.6983, allocations: 0.803 MB / 0.7801 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.7017, allocations: 2.095 MB / 0.7822 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.7017, allocations: 4 kB / 0.7822 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.7021, allocations: 103.9 kB / 0.7823 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.7024, allocations: 72.77 kB / 0.7824 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-05/0.7025, allocations: 19.98 kB / 0.7824 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004135/0.7029, allocations: 0.5797 MB / 0.7829 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7029, allocations: 7.969 kB / 0.783 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.7051, allocations: 1.323 MB / 0.7842 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004118/0.7055, allocations: 291.4 kB / 0.7845 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.7057, allocations: 19.94 kB / 0.7845 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.7063, allocations: 31.97 kB / 0.7846 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.7064, allocations: 48.48 kB / 0.7846 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.7065, allocations: 35.98 kB / 0.7847 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001008/0.7075, allocations: 0.6804 MB / 0.7853 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7075, allocations: 0 / 0.7853 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001934/0.7094, allocations: 0.7522 MB / 0.7861 GB, free: 3.363 MB / 0.6075 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.001324/0.7108, allocations: 0.5734 MB / 0.7866 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.7127, allocations: 1.052 MB / 0.7876 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.7127, allocations: 0 / 0.7876 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.7134, allocations: 431.1 kB / 0.7881 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.716, allocations: 0.6052 MB / 0.7886 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.7196, allocations: 2.135 MB / 0.7907 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.7204, allocations: 1.133 MB / 0.7918 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00101/0.7214, allocations: 306.4 kB / 0.7921 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.7217, allocations: 107.4 kB / 0.7922 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.7217, allocations: 0 / 0.7922 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.04529/0.767, allocations: 28.17 MB / 0.8197 GB, free: 1.145 MB / 0.6387 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)