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.001299/0.001299, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.00136/0.001361, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8401/0.8401, allocations: 126.1 MB / 416.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.4945 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4181, allocations: 78.69 MB / 0.5713 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04964/0.4678, allocations: 60.21 MB / 0.6301 GB, free: 10.47 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.4897, allocations: 14.57 MB / 0.6443 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003097/0.4928, allocations: 55.69 kB / 0.6444 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.4949, allocations: 0.6178 MB / 0.645 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007633/0.5026, allocations: 2.091 MB / 0.647 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004498/0.5071, allocations: 1.552 MB / 0.6486 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.5128, allocations: 4.04 MB / 0.6525 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.5146, allocations: 1.27 MB / 0.6537 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00382/0.5184, allocations: 1.6 MB / 0.6553 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.5202, allocations: 1.113 MB / 0.6564 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.5204, allocations: 136 kB / 0.6565 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.5244, allocations: 1.731 MB / 0.6582 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.5249, allocations: 342.7 kB / 0.6585 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.5262, allocations: 0.7894 MB / 0.6593 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005835/0.5321, allocations: 2.707 MB / 0.662 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5321, allocations: 0 / 0.662 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5321, allocations: 4 kB / 0.662 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.451e-05/0.5321, allocations: 0 / 0.662 GB, free: 9.77 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.003271/0.5354, allocations: 1.845 MB / 0.6638 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5355, allocations: 8.031 kB / 0.6638 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.5359, allocations: 166.5 kB / 0.6639 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.5379, allocations: 1.281 MB / 0.6652 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.538, allocations: 66 kB / 0.6652 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5381, allocations: 84 kB / 0.6653 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5397, allocations: 0.9591 MB / 0.6663 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.5397, allocations: 7.906 kB / 0.6663 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.5398, allocations: 36 kB / 0.6663 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.5398, allocations: 27.94 kB / 0.6663 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/0.541, allocations: 0.6635 MB / 0.667 GB, free: 4.469 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.005894/0.5469, allocations: 5.212 MB / 0.6721 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.5477, allocations: 405.3 kB / 0.6725 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.5481, allocations: 242.1 kB / 0.6727 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.5495, allocations: 1.587 MB / 0.6742 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5495, allocations: 43 kB / 0.6743 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.335e-06/0.5495, allocations: 0 / 0.6743 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.002465/0.552, allocations: 0.9368 MB / 0.6752 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.552, allocations: 59.84 kB / 0.6752 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.5534, allocations: 0.9927 MB / 0.6762 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.5535, allocations: 37.7 kB / 0.6763 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.5539, allocations: 0.5658 MB / 0.6768 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.5541, allocations: 193.2 kB / 0.677 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.5543, allocations: 142.1 kB / 0.6771 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5544, allocations: 330 kB / 0.6774 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.5548, allocations: 199.7 kB / 0.6776 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.5553, allocations: 408.9 kB / 0.678 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.5562, allocations: 0.6295 MB / 0.6786 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5562, allocations: 3.938 kB / 0.6786 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001687/0.5579, allocations: 0.834 MB / 0.6795 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.5579, allocations: 8 kB / 0.6795 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.5579, allocations: 11.98 kB / 0.6795 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.5585, allocations: 105.3 kB / 0.6796 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.559, allocations: 139.8 kB / 0.6797 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005291/0.5595, allocations: 0.5991 MB / 0.6803 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008071/0.5603, allocations: 111.3 kB / 0.6804 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/0.5604, allocations: 35.98 kB / 0.6804 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006367/0.561, allocations: 446.2 kB / 0.6809 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004678/0.5615, allocations: 393 kB / 0.6812 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008492/0.5624, allocations: 0.6256 MB / 0.6818 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.5624, allocations: 4 kB / 0.6818 GB, free: 4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001608/0.564, allocations: 0.8262 MB / 0.6827 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.564, allocations: 6.188 kB / 0.6827 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.5641, allocations: 16.45 kB / 0.6827 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.5645, allocations: 104.8 kB / 0.6828 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.5649, allocations: 139.8 kB / 0.6829 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004287/0.5654, allocations: 0.6031 MB / 0.6835 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.5661, allocations: 95.45 kB / 0.6836 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.5662, allocations: 35.98 kB / 0.6836 GB, free: 2.145 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.0002062/0.5664, allocations: 216.1 kB / 0.6838 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.5666, allocations: 110.7 kB / 0.6839 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.5686, allocations: 1.078 MB / 0.685 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.5687, allocations: 12 kB / 0.685 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5687, allocations: 0 / 0.685 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/0.57, allocations: 0.8069 MB / 0.6858 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.5735, allocations: 2.079 MB / 0.6878 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.5735, allocations: 4 kB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.5739, allocations: 104 kB / 0.6879 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.5743, allocations: 88.61 kB / 0.688 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.406e-05/0.5743, allocations: 16 kB / 0.688 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004063/0.5747, allocations: 0.5875 MB / 0.6886 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5748, allocations: 4.031 kB / 0.6886 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.577, allocations: 1.31 MB / 0.6899 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/0.5775, allocations: 299.2 kB / 0.6902 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.5777, allocations: 19.94 kB / 0.6902 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007853/0.5785, allocations: 79.78 kB / 0.6903 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5786, allocations: 52.48 kB / 0.6903 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.5787, allocations: 31.97 kB / 0.6903 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001058/0.5797, allocations: 0.6803 MB / 0.691 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5797, allocations: 0 / 0.691 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002114/0.5819, allocations: 0.7406 MB / 0.6917 GB, free: 9.668 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.001339/0.5832, allocations: 0.565 MB / 0.6923 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002421/0.5856, allocations: 1.107 MB / 0.6934 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5857, allocations: 0.625 kB / 0.6934 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.5863, allocations: 438.5 kB / 0.6938 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.589, allocations: 0.5932 MB / 0.6944 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.5929, allocations: 2.637 MB / 0.6969 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007301/0.5937, allocations: 1.129 MB / 0.698 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001096/0.5948, allocations: 315 kB / 0.6983 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.595, allocations: 107.4 kB / 0.6984 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.595, allocations: 4 kB / 0.6984 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of Templates: time 0.04744/0.6425, allocations: 27.49 MB / 0.7253 GB, free: 7.609 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)