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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001245/0.001245, allocations: 192.5 kB / 16.14 MB, free: 6.688 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8671/0.8671, allocations: 132.2 MB / 422.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 64.22 kB / 0.5011 GB, free: 9.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1884, allocations: 80.21 MB / 0.5794 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.4652/0.6537, allocations: 60.35 MB / 0.6384 GB, free: 24.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.6732, allocations: 14.72 MB / 0.6527 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003008/0.6763, allocations: 53.81 kB / 0.6528 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.6786, allocations: 0.5935 MB / 0.6534 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/0.6847, allocations: 2.084 MB / 0.6554 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.6889, allocations: 1.484 MB / 0.6569 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007149/0.6961, allocations: 5.269 MB / 0.662 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.698, allocations: 1.062 MB / 0.663 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.7018, allocations: 1.355 MB / 0.6644 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.7044, allocations: 1.083 MB / 0.6654 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.7047, allocations: 68.19 kB / 0.6655 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00453/0.7093, allocations: 1.591 MB / 0.667 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.7097, allocations: 276.4 kB / 0.6673 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.711, allocations: 0.7059 MB / 0.668 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005614/0.7167, allocations: 2.656 MB / 0.6706 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7167, allocations: 2.016 kB / 0.6706 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7167, allocations: 0 / 0.6706 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.7168, allocations: 4 kB / 0.6706 GB, free: 5.867 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.004303/0.7211, allocations: 1.849 MB / 0.6724 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.7211, allocations: 8.5 kB / 0.6724 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005714/0.7217, allocations: 160.8 kB / 0.6726 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.7246, allocations: 1.282 MB / 0.6738 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.7247, allocations: 73.02 kB / 0.6739 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.7249, allocations: 88.66 kB / 0.674 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.7272, allocations: 0.9616 MB / 0.6749 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.7273, allocations: 6.375 kB / 0.6749 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/0.7274, allocations: 32.94 kB / 0.6749 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.7274, allocations: 27.39 kB / 0.675 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.729, allocations: 0.6698 MB / 0.6756 GB, free: 2.949 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.007944/0.737, allocations: 5.209 MB / 0.6807 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.7381, allocations: 410.2 kB / 0.6811 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004913/0.7386, allocations: 242.2 kB / 0.6813 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.7404, allocations: 1.591 MB / 0.6829 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.7405, allocations: 38.7 kB / 0.6829 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.7405, allocations: 0 / 0.6829 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.003063/0.7436, allocations: 0.9341 MB / 0.6838 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.7436, allocations: 57.91 kB / 0.6839 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.7455, allocations: 0.9851 MB / 0.6848 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.7456, allocations: 36.2 kB / 0.6849 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006799/0.7463, allocations: 0.5733 MB / 0.6854 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.7466, allocations: 188.9 kB / 0.6856 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/0.7469, allocations: 147.6 kB / 0.6858 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.7471, allocations: 337 kB / 0.6861 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.7476, allocations: 202 kB / 0.6863 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.7483, allocations: 402.4 kB / 0.6867 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.7494, allocations: 0.6234 MB / 0.6873 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.7495, allocations: 2.406 kB / 0.6873 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002399/0.7519, allocations: 0.8214 MB / 0.6881 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.7519, allocations: 8.031 kB / 0.6881 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/0.752, allocations: 8.047 kB / 0.6881 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000707/0.7527, allocations: 115 kB / 0.6882 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.7532, allocations: 137.7 kB / 0.6883 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006537/0.7539, allocations: 0.6087 MB / 0.6889 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.7552, allocations: 117.2 kB / 0.689 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.7553, allocations: 38.98 kB / 0.6891 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001079/0.7564, allocations: 438.8 kB / 0.6895 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006648/0.7571, allocations: 399.6 kB / 0.6899 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/0.7582, allocations: 0.6219 MB / 0.6905 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.7582, allocations: 2.625 kB / 0.6905 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.002098/0.7603, allocations: 0.8157 MB / 0.6913 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7603, allocations: 6.906 kB / 0.6913 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.7604, allocations: 13.5 kB / 0.6913 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.7609, allocations: 104.1 kB / 0.6914 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.7614, allocations: 143.8 kB / 0.6915 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005281/0.762, allocations: 0.5967 MB / 0.6921 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.7631, allocations: 92.78 kB / 0.6922 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/0.7632, allocations: 40.08 kB / 0.6922 GB, free: 6.965 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.0003534/0.7636, allocations: 231 kB / 0.6925 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/0.7639, allocations: 115 kB / 0.6926 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.7664, allocations: 1.069 MB / 0.6936 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-05/0.7665, allocations: 9.844 kB / 0.6936 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7665, allocations: 0 / 0.6936 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001518/0.768, allocations: 0.805 MB / 0.6944 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.7719, allocations: 2.087 MB / 0.6964 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.772, allocations: 4.172 kB / 0.6965 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.7724, allocations: 99.64 kB / 0.6965 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003519/0.7727, allocations: 76.28 kB / 0.6966 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.7728, allocations: 18.48 kB / 0.6966 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004892/0.7733, allocations: 0.5981 MB / 0.6972 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7733, allocations: 1.031 kB / 0.6972 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.7756, allocations: 1.314 MB / 0.6985 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.7762, allocations: 295.5 kB / 0.6988 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.7764, allocations: 16.64 kB / 0.6988 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/0.7771, allocations: 89.23 kB / 0.6989 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.7772, allocations: 49.16 kB / 0.6989 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/0.7773, allocations: 32.27 kB / 0.699 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001103/0.7784, allocations: 0.6748 MB / 0.6996 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7784, allocations: 1.156 kB / 0.6996 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002315/0.7808, allocations: 0.7323 MB / 0.7003 GB, free: 2.836 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 (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.00132/0.7821, allocations: 0.5692 MB / 0.7009 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.7841, allocations: 1.047 MB / 0.7019 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7841, allocations: 3.938 kB / 0.7019 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005896/0.7847, allocations: 420.5 kB / 0.7023 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.7874, allocations: 0.5783 MB / 0.7029 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.7913, allocations: 2.617 MB / 0.7054 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000696/0.792, allocations: 1.132 MB / 0.7066 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001405/0.7934, allocations: 310.8 kB / 0.7068 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.7937, allocations: 116.3 kB / 0.707 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.7937, allocations: 0 / 0.707 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.04836/0.842, allocations: 26.58 MB / 0.7329 GB, free: 6.328 MB / 0.545 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)