Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01058/0.01059, allocations: 103 kB / 15.73 MB, free: 6.039 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.00158/0.00158, allocations: 193.3 kB / 16.67 MB, free: 5.957 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.811/0.811, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.69 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.189, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0627/0.2518, allocations: 60.72 MB / 0.719 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.2753, allocations: 14.62 MB / 0.7332 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.2789, allocations: 67.62 kB / 0.7333 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003131/0.2822, allocations: 0.7336 MB / 0.734 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00894/0.2911, allocations: 2.363 MB / 0.7363 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.297, allocations: 1.683 MB / 0.738 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006013/0.303, allocations: 4.037 MB / 0.7419 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.3052, allocations: 1.294 MB / 0.7432 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.309, allocations: 1.61 MB / 0.7448 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.3109, allocations: 1.089 MB / 0.7458 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.3113, allocations: 132 kB / 0.7459 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.502/0.8134, allocations: 1.707 MB / 0.7476 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.8145, allocations: 337 kB / 0.7479 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.8162, allocations: 0.791 MB / 0.7487 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007155/0.8234, allocations: 2.719 MB / 0.7514 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.8234, allocations: 0.5156 kB / 0.7514 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8235, allocations: 0 / 0.7514 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.023e-05/0.8235, allocations: 0 / 0.7514 GB, free: 13.22 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.0044/0.8279, allocations: 1.85 MB / 0.7532 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.828, allocations: 9.125 kB / 0.7532 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000514/0.8285, allocations: 168 kB / 0.7533 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.831, allocations: 1.31 MB / 0.7546 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.8311, allocations: 64.91 kB / 0.7547 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.8313, allocations: 85.12 kB / 0.7548 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.8334, allocations: 0.9573 MB / 0.7557 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.8335, allocations: 11.92 kB / 0.7557 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.8336, allocations: 36.83 kB / 0.7557 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.8336, allocations: 22.53 kB / 0.7558 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.835, allocations: 0.6659 MB / 0.7564 GB, free: 11.68 MB / 0.5762 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.00707/0.8421, allocations: 5.22 MB / 0.7615 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.8432, allocations: 405.3 kB / 0.7619 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.8438, allocations: 240.6 kB / 0.7621 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.8451, allocations: 1.592 MB / 0.7637 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.8452, allocations: 39.77 kB / 0.7637 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.745e-06/0.8452, allocations: 0 / 0.7637 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002504/0.8477, allocations: 0.9374 MB / 0.7646 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.8477, allocations: 57.28 kB / 0.7647 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.8496, allocations: 0.9992 MB / 0.7657 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.8497, allocations: 37.61 kB / 0.7657 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/0.8502, allocations: 0.5767 MB / 0.7663 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.8505, allocations: 191.2 kB / 0.7664 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002644/0.8507, allocations: 144.1 kB / 0.7666 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8508, allocations: 333 kB / 0.7669 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.8512, allocations: 204.5 kB / 0.7671 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.8518, allocations: 400.8 kB / 0.7675 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009346/0.8527, allocations: 0.6306 MB / 0.7681 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8527, allocations: 2.531 kB / 0.7681 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001802/0.8545, allocations: 0.8329 MB / 0.7689 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.8546, allocations: 6.594 kB / 0.7689 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.8546, allocations: 11.84 kB / 0.7689 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.8552, allocations: 105.8 kB / 0.769 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.8556, allocations: 135.8 kB / 0.7692 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/0.8561, allocations: 0.608 MB / 0.7697 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/0.857, allocations: 72.67 kB / 0.7698 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.8571, allocations: 34.5 kB / 0.7699 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008654/0.8579, allocations: 441.6 kB / 0.7703 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005464/0.8585, allocations: 401.4 kB / 0.7707 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009131/0.8594, allocations: 0.6188 MB / 0.7713 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/0.8594, allocations: 1.375 kB / 0.7713 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001791/0.8612, allocations: 0.8224 MB / 0.7721 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8612, allocations: 15.72 kB / 0.7721 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.8613, allocations: 9.781 kB / 0.7721 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.8618, allocations: 114.2 kB / 0.7722 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.8622, allocations: 136.1 kB / 0.7723 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/0.8626, allocations: 0.5915 MB / 0.7729 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.8634, allocations: 62.97 kB / 0.773 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/0.8635, allocations: 40.33 kB / 0.773 GB, free: 3.285 MB / 0.5762 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.0002791/0.8638, allocations: 227 kB / 0.7732 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.8641, allocations: 110 kB / 0.7733 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.8662, allocations: 1.066 MB / 0.7744 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.385e-05/0.8663, allocations: 15.53 kB / 0.7744 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.8663, allocations: 0 / 0.7744 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/0.8677, allocations: 0.8019 MB / 0.7752 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004315/0.872, allocations: 2.102 MB / 0.7772 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/0.8721, allocations: 6 kB / 0.7772 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.8725, allocations: 96.44 kB / 0.7773 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/0.8728, allocations: 74.42 kB / 0.7774 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.8729, allocations: 23.12 kB / 0.7774 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.8734, allocations: 0.58 MB / 0.778 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8734, allocations: 1.156 kB / 0.778 GB, free: 17.86 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.8759, allocations: 1.318 MB / 0.7793 GB, free: 17.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.8765, allocations: 298.5 kB / 0.7795 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.8767, allocations: 13.67 kB / 0.7796 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.8773, allocations: 35.44 kB / 0.7796 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.8774, allocations: 51.75 kB / 0.7796 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.8775, allocations: 35.73 kB / 0.7797 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001237/0.8787, allocations: 0.6855 MB / 0.7803 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8787, allocations: 0 / 0.7803 GB, free: 17.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002849/0.8816, allocations: 0.7446 MB / 0.7811 GB, free: 17.19 MB / 0.5919 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.001564/0.8832, allocations: 0.5725 MB / 0.7816 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.8854, allocations: 1.053 MB / 0.7827 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8854, allocations: 1.469 kB / 0.7827 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.886, allocations: 424.6 kB / 0.7831 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/0.8888, allocations: 0.6103 MB / 0.7837 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/0.8926, allocations: 2.117 MB / 0.7857 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.8934, allocations: 1.135 MB / 0.7868 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001164/0.8946, allocations: 319.2 kB / 0.7871 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.8948, allocations: 108.8 kB / 0.7872 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.8948, allocations: 0 / 0.7872 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.04939/0.9442, allocations: 28.16 MB / 0.8147 GB, free: 1.566 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)