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.0007534/0.0007534, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0007941/0.000794, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.727/0.727, allocations: 132.4 MB / 423.4 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002736/0.0002737, allocations: 9.594 kB / 0.5034 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3409, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05177/0.3927, allocations: 56.03 MB / 0.6378 GB, free: 8.449 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01653/0.4093, allocations: 13.69 MB / 0.6512 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.411, allocations: 59.62 kB / 0.6512 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.4124, allocations: 0.5045 MB / 0.6517 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.4162, allocations: 1.78 MB / 0.6534 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.4195, allocations: 1.199 MB / 0.6546 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.4242, allocations: 4.524 MB / 0.659 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.4258, allocations: 0.9019 MB / 0.6599 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.4285, allocations: 1.272 MB / 0.6612 GB, free: 464 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.4302, allocations: 0.9838 MB / 0.6621 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.4304, allocations: 52 kB / 0.6622 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.4334, allocations: 1.212 MB / 0.6634 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004125/0.4339, allocations: 242.8 kB / 0.6636 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.4344, allocations: 313 kB / 0.6639 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.4367, allocations: 1.909 MB / 0.6657 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4367, allocations: 4 kB / 0.6658 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4367, allocations: 0 / 0.6658 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.4367, allocations: 0 / 0.6658 GB, free: 11.73 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.002326/0.439, allocations: 1.584 MB / 0.6673 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.4391, allocations: 8.031 kB / 0.6673 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.4394, allocations: 166.1 kB / 0.6675 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.4412, allocations: 1.25 MB / 0.6687 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.4413, allocations: 69.94 kB / 0.6688 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.4414, allocations: 87.98 kB / 0.6688 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4428, allocations: 0.9475 MB / 0.6698 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.4429, allocations: 0 / 0.6698 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.646e-05/0.443, allocations: 32 kB / 0.6698 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.443, allocations: 35.98 kB / 0.6698 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4441, allocations: 0.6596 MB / 0.6705 GB, free: 6.734 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.004949/0.449, allocations: 5.217 MB / 0.6756 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.4498, allocations: 405.9 kB / 0.676 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.4502, allocations: 244 kB / 0.6762 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.4516, allocations: 1.607 MB / 0.6778 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4516, allocations: 42.98 kB / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.4516, allocations: 0 / 0.6778 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002065/0.4537, allocations: 0.9291 MB / 0.6787 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4538, allocations: 55.84 kB / 0.6788 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.455, allocations: 0.9811 MB / 0.6797 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.4551, allocations: 37.7 kB / 0.6797 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.4556, allocations: 0.5735 MB / 0.6803 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.4557, allocations: 189.2 kB / 0.6805 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4558, allocations: 16 kB / 0.6805 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4559, allocations: 337.8 kB / 0.6808 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.4562, allocations: 193.6 kB / 0.681 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.4567, allocations: 400.9 kB / 0.6814 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.4571, allocations: 270.1 kB / 0.6817 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4572, allocations: 3.938 kB / 0.6817 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001525/0.4587, allocations: 0.8266 MB / 0.6825 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.4589, allocations: 261.3 kB / 0.6827 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4589, allocations: 11.95 kB / 0.6827 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005038/0.4594, allocations: 104.7 kB / 0.6828 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.4598, allocations: 147.7 kB / 0.683 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/0.4603, allocations: 0.5952 MB / 0.6835 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.461, allocations: 111.3 kB / 0.6837 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.4611, allocations: 35.98 kB / 0.6837 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-06/0.4611, allocations: 10.34 kB / 0.6837 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/0.4625, allocations: 0.697 MB / 0.6844 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.4625, allocations: 8 kB / 0.6844 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004395/0.463, allocations: 113.2 kB / 0.6845 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.4634, allocations: 135.8 kB / 0.6846 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/0.4639, allocations: 0.5991 MB / 0.6852 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.4645, allocations: 99.44 kB / 0.6853 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.4645, allocations: 39.98 kB / 0.6853 GB, free: 6.426 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004496/0.465, allocations: 376.8 kB / 0.6857 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.4651, allocations: 114.6 kB / 0.6858 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.4672, allocations: 1.07 MB / 0.6869 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4673, allocations: 12 kB / 0.6869 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4673, allocations: 0 / 0.6869 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.4685, allocations: 0.7991 MB / 0.6876 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.4716, allocations: 2.102 MB / 0.6897 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4716, allocations: 4 kB / 0.6897 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.472, allocations: 95.89 kB / 0.6898 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003724/0.4724, allocations: 72.81 kB / 0.6899 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.4725, allocations: 19.98 kB / 0.6899 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003829/0.4729, allocations: 0.5876 MB / 0.6905 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4729, allocations: 7.984 kB / 0.6905 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.4748, allocations: 1.314 MB / 0.6917 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.4752, allocations: 315.3 kB / 0.692 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4754, allocations: 12 kB / 0.6921 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.476, allocations: 83.92 kB / 0.6921 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.4761, allocations: 48.48 kB / 0.6922 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.4762, allocations: 35.97 kB / 0.6922 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009235/0.4771, allocations: 0.6608 MB / 0.6929 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4771, allocations: 7.938 kB / 0.6929 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00171/0.4788, allocations: 0.7366 MB / 0.6936 GB, free: 13.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000907/0.4797, allocations: 0.5368 MB / 0.6941 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.4814, allocations: 1.044 MB / 0.6951 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4814, allocations: 0 / 0.6951 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005768/0.482, allocations: 431.6 kB / 0.6955 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4843, allocations: 0.5681 MB / 0.6961 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.4877, allocations: 2.715 MB / 0.6988 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.4883, allocations: 1.129 MB / 0.6999 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000914/0.4892, allocations: 317.8 kB / 0.7002 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4894, allocations: 107.4 kB / 0.7003 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.4894, allocations: 4 kB / 0.7003 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.03696/0.5264, allocations: 25.79 MB / 0.7255 GB, free: 13.48 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)