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.00111/0.00111, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001164/0.001164, allocations: 195.7 kB / 17.3 MB, free: 5.516 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7638/0.7638, allocations: 132.2 MB / 423.3 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 80.19 MB / 0.5815 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0498/0.4033, allocations: 60.71 MB / 0.6408 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.019/0.4224, allocations: 14.63 MB / 0.6551 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.4243, allocations: 63.62 kB / 0.6551 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001744/0.4261, allocations: 0.7141 MB / 0.6558 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.4315, allocations: 2.251 MB / 0.658 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004065/0.4356, allocations: 1.679 MB / 0.6597 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005165/0.4408, allocations: 4.024 MB / 0.6636 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/0.4425, allocations: 1.286 MB / 0.6649 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4459, allocations: 1.583 MB / 0.6664 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.4474, allocations: 1.089 MB / 0.6675 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.4476, allocations: 132 kB / 0.6676 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.4513, allocations: 1.716 MB / 0.6693 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.4517, allocations: 334.8 kB / 0.6696 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008352/0.4525, allocations: 0.7893 MB / 0.6704 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.4563, allocations: 2.715 MB / 0.673 GB, free: 392 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4563, allocations: 3.938 kB / 0.673 GB, free: 388 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.626e-06/0.4563, allocations: 0 / 0.673 GB, free: 388 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.222e-05/0.4563, allocations: 3.938 kB / 0.673 GB, free: 384 kB / 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.003229/0.4596, allocations: 1.845 MB / 0.6748 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4596, allocations: 8.031 kB / 0.6748 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.4601, allocations: 170.4 kB / 0.675 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.4624, allocations: 1.304 MB / 0.6763 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.4624, allocations: 70 kB / 0.6763 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.4626, allocations: 84 kB / 0.6764 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.4644, allocations: 0.9552 MB / 0.6773 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.4644, allocations: 3.906 kB / 0.6773 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.456e-05/0.4645, allocations: 32 kB / 0.6774 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.4646, allocations: 35.92 kB / 0.6774 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.4659, allocations: 0.6597 MB / 0.6781 GB, free: 11.05 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.006846/0.4728, allocations: 5.224 MB / 0.6832 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.4735, allocations: 400.4 kB / 0.6835 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.4739, allocations: 244.1 kB / 0.6838 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.4753, allocations: 1.587 MB / 0.6853 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.4753, allocations: 39 kB / 0.6854 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.4753, allocations: 0 / 0.6854 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002323/0.4776, allocations: 0.9406 MB / 0.6863 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.4777, allocations: 59.84 kB / 0.6863 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.479, allocations: 1.005 MB / 0.6873 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.4791, allocations: 37.7 kB / 0.6873 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.4795, allocations: 0.5736 MB / 0.6879 GB, free: 108 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.4797, allocations: 189.3 kB / 0.6881 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.4799, allocations: 142.1 kB / 0.6882 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.48, allocations: 337.9 kB / 0.6885 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003533/0.4804, allocations: 195.7 kB / 0.6887 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005156/0.4809, allocations: 416.9 kB / 0.6891 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.4819, allocations: 0.6217 MB / 0.6897 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4819, allocations: 7.938 kB / 0.6897 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00169/0.4836, allocations: 0.815 MB / 0.6905 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4836, allocations: 8 kB / 0.6906 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.4836, allocations: 8 kB / 0.6906 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.4842, allocations: 104.7 kB / 0.6907 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.4846, allocations: 143.9 kB / 0.6908 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/0.4851, allocations: 0.6069 MB / 0.6914 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.4858, allocations: 79.2 kB / 0.6915 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.4859, allocations: 39.92 kB / 0.6915 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006508/0.4865, allocations: 438.3 kB / 0.6919 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005096/0.487, allocations: 398.4 kB / 0.6923 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008994/0.488, allocations: 0.6333 MB / 0.6929 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.488, allocations: 0 / 0.6929 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001671/0.4896, allocations: 0.8224 MB / 0.6937 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4897, allocations: 8 kB / 0.6937 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4897, allocations: 11.98 kB / 0.6937 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.4902, allocations: 105.2 kB / 0.6938 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.4906, allocations: 139.8 kB / 0.694 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004185/0.4911, allocations: 0.603 MB / 0.6946 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.4917, allocations: 59.52 kB / 0.6946 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.4918, allocations: 36.05 kB / 0.6947 GB, free: 8.781 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.0001944/0.492, allocations: 220.1 kB / 0.6949 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4922, allocations: 106.7 kB / 0.695 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.4942, allocations: 1.069 MB / 0.696 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.4942, allocations: 11.98 kB / 0.696 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4942, allocations: 4 kB / 0.696 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001323/0.4956, allocations: 0.7952 MB / 0.6968 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.499, allocations: 2.102 MB / 0.6989 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.499, allocations: 0 / 0.6989 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.4994, allocations: 103.9 kB / 0.699 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.4997, allocations: 76.78 kB / 0.699 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.4998, allocations: 16 kB / 0.699 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003925/0.5002, allocations: 0.5876 MB / 0.6996 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5002, allocations: 3.984 kB / 0.6996 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5023, allocations: 1.315 MB / 0.7009 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.5028, allocations: 299.3 kB / 0.7012 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5029, allocations: 19.92 kB / 0.7012 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.5035, allocations: 27.98 kB / 0.7012 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.5036, allocations: 52.48 kB / 0.7013 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.5036, allocations: 31.98 kB / 0.7013 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009488/0.5046, allocations: 0.6843 MB / 0.702 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5046, allocations: 0 / 0.702 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001756/0.5064, allocations: 0.7445 MB / 0.7027 GB, free: 356 kB / 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.001084/0.5075, allocations: 0.5871 MB / 0.7033 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.5092, allocations: 1.048 MB / 0.7043 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5093, allocations: 0 / 0.7043 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.5099, allocations: 431 kB / 0.7047 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.5123, allocations: 0.599 MB / 0.7053 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.5154, allocations: 2.129 MB / 0.7074 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/0.5161, allocations: 1.141 MB / 0.7085 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008706/0.517, allocations: 319.1 kB / 0.7088 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002131/0.5172, allocations: 107.3 kB / 0.7089 GB, free: 9.965 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5172, allocations: 0 / 0.7089 GB, free: 9.965 MB / 0.545 GB Notification: Performance of Templates: time 0.04118/0.5584, allocations: 27.95 MB / 0.7362 GB, free: 14.38 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)