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.001103/0.001104, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7308/0.7308, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 56.28 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4081, allocations: 80.21 MB / 0.5801 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.06052/0.4686, allocations: 60.72 MB / 0.6394 GB, free: 4.672 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02099/0.4896, allocations: 14.63 MB / 0.6537 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004279/0.494, allocations: 67.56 kB / 0.6537 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002679/0.4967, allocations: 0.7063 MB / 0.6544 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007111/0.5039, allocations: 2.255 MB / 0.6566 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004569/0.5085, allocations: 1.66 MB / 0.6583 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00604/0.5145, allocations: 4.029 MB / 0.6622 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.5167, allocations: 1.282 MB / 0.6634 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003654/0.5203, allocations: 1.573 MB / 0.665 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.5226, allocations: 1.089 MB / 0.666 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.5231, allocations: 136 kB / 0.6662 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004011/0.5271, allocations: 1.704 MB / 0.6678 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005164/0.5277, allocations: 342.7 kB / 0.6682 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.529, allocations: 0.7816 MB / 0.6689 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.5336, allocations: 2.699 MB / 0.6716 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5336, allocations: 4 kB / 0.6716 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5336, allocations: 0 / 0.6716 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.515e-05/0.5337, allocations: 0 / 0.6716 GB, free: 3.613 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.003427/0.5371, allocations: 1.841 MB / 0.6734 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5372, allocations: 12.03 kB / 0.6734 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005111/0.5377, allocations: 166.5 kB / 0.6735 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.5396, allocations: 1.245 MB / 0.6748 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.5397, allocations: 66 kB / 0.6748 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5398, allocations: 84 kB / 0.6749 GB, free: 92 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5413, allocations: 0.963 MB / 0.6758 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5413, allocations: 7.906 kB / 0.6758 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/0.5414, allocations: 39.98 kB / 0.6759 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.5414, allocations: 27.92 kB / 0.6759 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.5425, allocations: 0.6674 MB / 0.6766 GB, free: 14.34 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.005076/0.5476, allocations: 5.244 MB / 0.6817 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.5483, allocations: 409.9 kB / 0.6821 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.5487, allocations: 247.7 kB / 0.6823 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/0.55, allocations: 1.591 MB / 0.6839 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.5501, allocations: 42.94 kB / 0.6839 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.126e-06/0.5501, allocations: 0 / 0.6839 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002281/0.5524, allocations: 0.933 MB / 0.6848 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5524, allocations: 55.84 kB / 0.6849 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.5539, allocations: 1.008 MB / 0.6859 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.554, allocations: 37.7 kB / 0.6859 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.5545, allocations: 0.5814 MB / 0.6865 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.5547, allocations: 185.3 kB / 0.6866 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.5549, allocations: 142.1 kB / 0.6868 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5551, allocations: 330 kB / 0.6871 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.5554, allocations: 215.7 kB / 0.6873 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.5559, allocations: 396.9 kB / 0.6877 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/0.5568, allocations: 0.6178 MB / 0.6883 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.5568, allocations: 7.938 kB / 0.6883 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001598/0.5584, allocations: 0.8224 MB / 0.6891 GB, free: 496 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5584, allocations: 8 kB / 0.6891 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.5585, allocations: 8 kB / 0.6891 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.559, allocations: 117.2 kB / 0.6892 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.5594, allocations: 139.8 kB / 0.6893 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005193/0.56, allocations: 0.603 MB / 0.6899 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.5607, allocations: 79.36 kB / 0.69 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.5607, allocations: 35.98 kB / 0.69 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006319/0.5614, allocations: 429.7 kB / 0.6904 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004584/0.5618, allocations: 404.9 kB / 0.6908 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008217/0.5627, allocations: 0.6295 MB / 0.6914 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.5627, allocations: 0 / 0.6914 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001595/0.5643, allocations: 0.8223 MB / 0.6923 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5643, allocations: 8 kB / 0.6923 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.5643, allocations: 8.469 kB / 0.6923 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/0.5648, allocations: 112.7 kB / 0.6924 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000399/0.5652, allocations: 143.7 kB / 0.6925 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00041/0.5656, allocations: 0.5992 MB / 0.6931 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006068/0.5663, allocations: 59.42 kB / 0.6932 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5663, allocations: 39.98 kB / 0.6932 GB, free: 12.04 MB / 0.5294 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.0002061/0.5665, allocations: 216.1 kB / 0.6934 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.5668, allocations: 110.7 kB / 0.6935 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/0.5687, allocations: 1.068 MB / 0.6945 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.5688, allocations: 11.98 kB / 0.6946 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5688, allocations: 0 / 0.6946 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/0.57, allocations: 0.7991 MB / 0.6953 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.5732, allocations: 2.106 MB / 0.6974 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.5733, allocations: 4 kB / 0.6974 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.5737, allocations: 95.98 kB / 0.6975 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.574, allocations: 72.73 kB / 0.6976 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.041e-05/0.574, allocations: 23.98 kB / 0.6976 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003761/0.5744, allocations: 0.5875 MB / 0.6982 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5744, allocations: 0 / 0.6982 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.5765, allocations: 1.31 MB / 0.6994 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/0.5769, allocations: 299.3 kB / 0.6997 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.5771, allocations: 19.94 kB / 0.6997 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.5777, allocations: 23.97 kB / 0.6998 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5778, allocations: 56.44 kB / 0.6998 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.5779, allocations: 31.97 kB / 0.6998 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001108/0.579, allocations: 0.6882 MB / 0.7005 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.579, allocations: 0 / 0.7005 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002279/0.5813, allocations: 0.7445 MB / 0.7012 GB, free: 3.613 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.001433/0.5827, allocations: 0.5767 MB / 0.7018 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.5852, allocations: 1.11 MB / 0.7029 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5852, allocations: 0 / 0.7029 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/0.5858, allocations: 439.1 kB / 0.7033 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.5885, allocations: 0.5981 MB / 0.7039 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.592, allocations: 2.156 MB / 0.706 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007626/0.5928, allocations: 1.137 MB / 0.7071 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001079/0.5939, allocations: 315.5 kB / 0.7074 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5941, allocations: 107.4 kB / 0.7075 GB, free: 13.15 MB / 0.545 GB Notification: Performance of SimCode: time 1.042e-06/0.5942, allocations: 0 / 0.7075 GB, free: 13.15 MB / 0.545 GB Notification: Performance of Templates: time 0.04335/0.6375, allocations: 27.98 MB / 0.7348 GB, free: 1.578 MB / 0.5606 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)