Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001575/0.001575, allocations: 104.1 kB / 16.27 MB, free: 6.055 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.001635/0.001635, allocations: 186.7 kB / 17.19 MB, free: 5.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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8162/0.8162, allocations: 126.1 MB / 417.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.89 kB / 0.495 GB, free: 3.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4169, allocations: 78.71 MB / 0.5718 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.07434/0.4913, allocations: 60.69 MB / 0.6311 GB, free: 9.848 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02724/0.5186, allocations: 14.67 MB / 0.6454 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.5218, allocations: 71.56 kB / 0.6455 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002783/0.5247, allocations: 0.7063 MB / 0.6462 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007513/0.5322, allocations: 2.258 MB / 0.6484 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.5375, allocations: 1.664 MB / 0.65 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006279/0.5437, allocations: 4.035 MB / 0.654 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.5464, allocations: 1.274 MB / 0.6552 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/0.5518, allocations: 1.581 MB / 0.6567 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002586/0.5544, allocations: 1.073 MB / 0.6578 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.5551, allocations: 136 kB / 0.6579 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.56, allocations: 1.712 MB / 0.6596 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007409/0.5607, allocations: 342.8 kB / 0.6599 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002103/0.5629, allocations: 0.7854 MB / 0.6607 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.5697, allocations: 2.692 MB / 0.6633 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5698, allocations: 0 / 0.6633 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5698, allocations: 0 / 0.6633 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.997e-05/0.5699, allocations: 0 / 0.6633 GB, free: 8.754 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.004782/0.5747, allocations: 1.849 MB / 0.6651 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5747, allocations: 8.031 kB / 0.6651 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.5755, allocations: 166.5 kB / 0.6653 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.5784, allocations: 1.256 MB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.5785, allocations: 58 kB / 0.6666 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5787, allocations: 91.98 kB / 0.6667 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.5807, allocations: 0.9552 MB / 0.6676 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.5807, allocations: 7.984 kB / 0.6676 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.5808, allocations: 36 kB / 0.6676 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.5808, allocations: 35.86 kB / 0.6677 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.5821, allocations: 0.6636 MB / 0.6683 GB, free: 3.473 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.006717/0.5889, allocations: 5.255 MB / 0.6734 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008206/0.5897, allocations: 401.2 kB / 0.6738 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.5901, allocations: 246.1 kB / 0.6741 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.5916, allocations: 1.587 MB / 0.6756 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5917, allocations: 42.94 kB / 0.6757 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.665e-06/0.5917, allocations: 0 / 0.6757 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002612/0.5943, allocations: 0.9407 MB / 0.6766 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5944, allocations: 59.83 kB / 0.6766 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.5961, allocations: 0.9967 MB / 0.6776 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.5962, allocations: 41.7 kB / 0.6776 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5967, allocations: 0.5814 MB / 0.6782 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5969, allocations: 185.2 kB / 0.6784 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.5971, allocations: 138.2 kB / 0.6785 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5972, allocations: 334 kB / 0.6788 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.5976, allocations: 199.7 kB / 0.679 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.5981, allocations: 404.9 kB / 0.6794 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009446/0.5991, allocations: 0.6217 MB / 0.68 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.5991, allocations: 3.938 kB / 0.68 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002007/0.6011, allocations: 0.8341 MB / 0.6808 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.6012, allocations: 11.98 kB / 0.6809 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.6012, allocations: 8 kB / 0.6809 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.6018, allocations: 109.1 kB / 0.681 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/0.6023, allocations: 135.8 kB / 0.6811 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005328/0.6028, allocations: 0.5992 MB / 0.6817 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.6036, allocations: 75.2 kB / 0.6818 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.6037, allocations: 39.98 kB / 0.6818 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007406/0.6045, allocations: 434.4 kB / 0.6822 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005117/0.605, allocations: 396.9 kB / 0.6826 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008971/0.6059, allocations: 0.6295 MB / 0.6832 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.6059, allocations: 0 / 0.6832 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001895/0.6078, allocations: 0.8417 MB / 0.684 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6078, allocations: 8 kB / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6079, allocations: 8 kB / 0.684 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.6084, allocations: 105.2 kB / 0.6841 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004476/0.6089, allocations: 143.7 kB / 0.6843 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004531/0.6093, allocations: 0.5914 MB / 0.6848 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/0.6101, allocations: 67.52 kB / 0.6849 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.6102, allocations: 35.98 kB / 0.6849 GB, free: 1.16 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.0002392/0.6104, allocations: 216.1 kB / 0.6852 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.6108, allocations: 114.6 kB / 0.6853 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.6131, allocations: 1.061 MB / 0.6863 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/0.6131, allocations: 15.98 kB / 0.6863 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6131, allocations: 7.938 kB / 0.6863 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.6146, allocations: 0.803 MB / 0.6871 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.6185, allocations: 2.094 MB / 0.6892 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.6185, allocations: 11.92 kB / 0.6892 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.619, allocations: 95.89 kB / 0.6893 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.6193, allocations: 76.84 kB / 0.6893 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.748e-05/0.6194, allocations: 19.98 kB / 0.6893 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000445/0.6198, allocations: 0.5874 MB / 0.6899 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6199, allocations: 0 / 0.6899 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.6222, allocations: 1.322 MB / 0.6912 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005776/0.6228, allocations: 291.3 kB / 0.6915 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.6231, allocations: 19.94 kB / 0.6915 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007125/0.6238, allocations: 31.97 kB / 0.6915 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.6239, allocations: 52.44 kB / 0.6916 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/0.624, allocations: 35.97 kB / 0.6916 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001352/0.6254, allocations: 0.6843 MB / 0.6923 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6254, allocations: 0 / 0.6923 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002322/0.6277, allocations: 0.7445 MB / 0.693 GB, free: 8.711 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.001596/0.6293, allocations: 0.5842 MB / 0.6936 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.6319, allocations: 1.117 MB / 0.6947 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.632, allocations: 0 / 0.6947 GB, free: 7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.6327, allocations: 428 kB / 0.6951 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003168/0.6359, allocations: 0.5947 MB / 0.6957 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.6403, allocations: 2.17 MB / 0.6978 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009436/0.6413, allocations: 1.137 MB / 0.6989 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00121/0.6425, allocations: 315 kB / 0.6992 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/0.6427, allocations: 111.4 kB / 0.6993 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.6428, allocations: 0 / 0.6993 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of Templates: time 0.04925/0.692, allocations: 27.97 MB / 0.7266 GB, free: 6.625 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)