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.001206/0.001206, allocations: 107.7 kB / 17.03 MB, free: 5.703 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.00131/0.00131, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3705, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05023/0.4208, allocations: 60.71 MB / 0.6169 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02168/0.4425, allocations: 14.65 MB / 0.6312 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003524/0.4461, allocations: 63.62 kB / 0.6312 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.4488, allocations: 0.7141 MB / 0.6319 GB, free: 8.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.4559, allocations: 2.257 MB / 0.6341 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00446/0.4604, allocations: 1.676 MB / 0.6358 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005836/0.4662, allocations: 4.047 MB / 0.6397 GB, free: 268 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/0.4687, allocations: 1.278 MB / 0.641 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004902/0.4737, allocations: 1.577 MB / 0.6425 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.4762, allocations: 1.089 MB / 0.6436 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.4765, allocations: 132 kB / 0.6437 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.4815, allocations: 1.72 MB / 0.6454 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005836/0.4821, allocations: 346.7 kB / 0.6457 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.4834, allocations: 0.7738 MB / 0.6465 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004902/0.4883, allocations: 2.73 MB / 0.6491 GB, free: 6.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4884, allocations: 0 / 0.6491 GB, free: 6.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4884, allocations: 0 / 0.6491 GB, free: 6.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.4884, allocations: 0 / 0.6491 GB, free: 6.574 MB / 494.1 MB 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.003361/0.4918, allocations: 1.854 MB / 0.6509 GB, free: 4.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4918, allocations: 12.03 kB / 0.6509 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.4925, allocations: 163.1 kB / 0.6511 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.4954, allocations: 1.309 MB / 0.6524 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.4955, allocations: 62 kB / 0.6524 GB, free: 3.066 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.4957, allocations: 84 kB / 0.6525 GB, free: 2.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.4977, allocations: 0.963 MB / 0.6535 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.4977, allocations: 4 kB / 0.6535 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.4978, allocations: 39.98 kB / 0.6535 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.4979, allocations: 27.94 kB / 0.6535 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.4995, allocations: 0.6635 MB / 0.6542 GB, free: 1.242 MB / 494.1 MB 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.007745/0.5072, allocations: 5.216 MB / 0.6593 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5083, allocations: 405 kB / 0.6597 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.5088, allocations: 242.1 kB / 0.6599 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/0.5105, allocations: 1.591 MB / 0.6614 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.5106, allocations: 42.98 kB / 0.6615 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 3.937e-06/0.5106, allocations: 4 kB / 0.6615 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.003175/0.5138, allocations: 0.9329 MB / 0.6624 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.5138, allocations: 55.84 kB / 0.6624 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.5153, allocations: 0.9967 MB / 0.6634 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/0.5153, allocations: 41.7 kB / 0.6635 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.5158, allocations: 0.5853 MB / 0.664 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.516, allocations: 189.2 kB / 0.6642 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.5162, allocations: 134.2 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5163, allocations: 334 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.5166, allocations: 207.7 kB / 0.6649 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.5171, allocations: 408.9 kB / 0.6652 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008891/0.518, allocations: 0.6178 MB / 0.6659 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.5181, allocations: 4 kB / 0.6659 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002003/0.5201, allocations: 0.8301 MB / 0.6667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.5201, allocations: 8 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/0.5201, allocations: 8 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.5208, allocations: 117.1 kB / 0.6668 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.5214, allocations: 135.8 kB / 0.6669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005013/0.5219, allocations: 0.6031 MB / 0.6675 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006688/0.5226, allocations: 75.2 kB / 0.6676 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.5227, allocations: 39.98 kB / 0.6676 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006889/0.5234, allocations: 438.6 kB / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005706/0.524, allocations: 404.9 kB / 0.6684 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008383/0.5248, allocations: 0.6217 MB / 0.669 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.5248, allocations: 0 / 0.669 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001655/0.5265, allocations: 0.8185 MB / 0.6698 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5265, allocations: 8 kB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.5266, allocations: 8 kB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004702/0.527, allocations: 113.2 kB / 0.67 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.5275, allocations: 143.8 kB / 0.6701 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004534/0.5279, allocations: 0.5991 MB / 0.6707 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.5286, allocations: 59.58 kB / 0.6707 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/0.5287, allocations: 39.92 kB / 0.6708 GB, free: 14.97 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.0002603/0.5289, allocations: 212.1 kB / 0.671 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.5291, allocations: 114.6 kB / 0.6711 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.5311, allocations: 1.076 MB / 0.6721 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.5312, allocations: 11.98 kB / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.5312, allocations: 0 / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/0.5325, allocations: 0.7991 MB / 0.6729 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/0.5359, allocations: 2.106 MB / 0.675 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5359, allocations: 4 kB / 0.675 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.5363, allocations: 95.98 kB / 0.6751 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003144/0.5366, allocations: 72.8 kB / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/0.5367, allocations: 19.98 kB / 0.6752 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004215/0.5371, allocations: 0.5912 MB / 0.6757 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5371, allocations: 4.031 kB / 0.6757 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.5392, allocations: 1.319 MB / 0.677 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004418/0.5396, allocations: 291.4 kB / 0.6773 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.5397, allocations: 12 kB / 0.6773 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.5403, allocations: 31.91 kB / 0.6774 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.5404, allocations: 56.42 kB / 0.6774 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/0.5405, allocations: 31.98 kB / 0.6774 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009495/0.5414, allocations: 0.6882 MB / 0.6781 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5414, allocations: 4 kB / 0.6781 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001791/0.5432, allocations: 0.7444 MB / 0.6788 GB, free: 6.523 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.001145/0.5444, allocations: 0.5716 MB / 0.6794 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001881/0.5463, allocations: 1.06 MB / 0.6804 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5463, allocations: 0.6875 kB / 0.6804 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.5469, allocations: 430.5 kB / 0.6808 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.5493, allocations: 0.6054 MB / 0.6814 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.5527, allocations: 2.118 MB / 0.6835 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/0.5534, allocations: 1.133 MB / 0.6846 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009168/0.5544, allocations: 316.3 kB / 0.6849 GB, free: 260 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.5546, allocations: 115.3 kB / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.5546, allocations: 0 / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of Templates: time 0.04372/0.5983, allocations: 27.96 MB / 0.7123 GB, free: 4.504 MB / 0.545 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)