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.000833/0.0008332, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 175.5 kB / 16.58 MB, free: 6.852 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.425/1.425, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7966/0.7966, allocations: 115.5 MB / 407.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003696, allocations: 8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1785, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.3833/0.5619, allocations: 56 MB / 0.614 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.5848, allocations: 13.72 MB / 0.6274 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.5878, allocations: 54.59 kB / 0.6275 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.5898, allocations: 0.5003 MB / 0.628 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006904/0.5967, allocations: 1.789 MB / 0.6297 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005509/0.6023, allocations: 1.202 MB / 0.6309 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009143/0.6114, allocations: 4.528 MB / 0.6353 GB, free: 4.164 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.6133, allocations: 0.9064 MB / 0.6362 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6171, allocations: 1.264 MB / 0.6374 GB, free: 2.914 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.6189, allocations: 0.9827 MB / 0.6384 GB, free: 2.348 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.6191, allocations: 57.62 kB / 0.6384 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.6224, allocations: 1.218 MB / 0.6396 GB, free: 1.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002734/0.6227, allocations: 237.1 kB / 0.6398 GB, free: 1.516 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005043/0.6232, allocations: 311.5 kB / 0.6401 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.6256, allocations: 1.913 MB / 0.642 GB, free: 88 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6256, allocations: 0 / 0.642 GB, free: 88 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6257, allocations: 4 kB / 0.642 GB, free: 84 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.6257, allocations: 1.562 kB / 0.642 GB, free: 84 kB / 462.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.00262/0.6283, allocations: 1.589 MB / 0.6436 GB, free: 14.85 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6283, allocations: 9.5 kB / 0.6436 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.6287, allocations: 156.2 kB / 0.6437 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.6307, allocations: 1.264 MB / 0.645 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.6307, allocations: 65.44 kB / 0.645 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6309, allocations: 82.88 kB / 0.6451 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.6324, allocations: 0.9511 MB / 0.646 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/0.6324, allocations: 11.22 kB / 0.646 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.6325, allocations: 34.41 kB / 0.6461 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/0.6325, allocations: 27.42 kB / 0.6461 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.6336, allocations: 0.6622 MB / 0.6467 GB, free: 12.73 MB / 478.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.005321/0.639, allocations: 5.214 MB / 0.6518 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.6397, allocations: 409 kB / 0.6522 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.6401, allocations: 242.1 kB / 0.6525 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.6415, allocations: 1.607 MB / 0.654 GB, free: 5.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6415, allocations: 35 kB / 0.6541 GB, free: 5.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.6416, allocations: 0 / 0.6541 GB, free: 5.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.002307/0.6439, allocations: 0.9375 MB / 0.655 GB, free: 4.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.6439, allocations: 55.84 kB / 0.655 GB, free: 4.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.6454, allocations: 0.981 MB / 0.656 GB, free: 3.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.6455, allocations: 41.7 kB / 0.656 GB, free: 3.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/0.646, allocations: 0.5736 MB / 0.6566 GB, free: 2.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.6463, allocations: 193.2 kB / 0.6568 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.6463, allocations: 11.94 kB / 0.6568 GB, free: 2.375 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6465, allocations: 337.9 kB / 0.6571 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.6469, allocations: 193.5 kB / 0.6573 GB, free: 1.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.6473, allocations: 401 kB / 0.6577 GB, free: 1.375 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.6478, allocations: 262 kB / 0.6579 GB, free: 1.121 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.6478, allocations: 4 kB / 0.6579 GB, free: 1.117 MB / 478.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001651/0.6495, allocations: 0.8345 MB / 0.6587 GB, free: 280 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/0.6496, allocations: 261.1 kB / 0.659 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.6497, allocations: 11.94 kB / 0.659 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.6502, allocations: 104.7 kB / 0.6591 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.6506, allocations: 143.8 kB / 0.6592 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000587/0.6512, allocations: 0.603 MB / 0.6598 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.6522, allocations: 103.3 kB / 0.6599 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/0.6522, allocations: 39.98 kB / 0.66 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.6523, allocations: 4 kB / 0.66 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/0.6536, allocations: 0.6931 MB / 0.6606 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.6536, allocations: 11.98 kB / 0.6607 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004239/0.654, allocations: 113.2 kB / 0.6608 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.6545, allocations: 139.8 kB / 0.6609 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000417/0.6549, allocations: 0.5953 MB / 0.6615 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/0.6556, allocations: 111.4 kB / 0.6616 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/0.6557, allocations: 32.08 kB / 0.6616 GB, free: 13.19 MB / 494.1 MB 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.0005965/0.6563, allocations: 368.9 kB / 0.662 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/0.6565, allocations: 126.5 kB / 0.6621 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.6584, allocations: 1.059 MB / 0.6631 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.6585, allocations: 8 kB / 0.6631 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6585, allocations: 0 / 0.6631 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001234/0.6597, allocations: 0.8069 MB / 0.6639 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.663, allocations: 2.098 MB / 0.666 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/0.6631, allocations: 4 kB / 0.666 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.6635, allocations: 103.9 kB / 0.6661 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.6638, allocations: 68.77 kB / 0.6661 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.6638, allocations: 23.98 kB / 0.6662 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004004/0.6642, allocations: 0.5914 MB / 0.6667 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6642, allocations: 0 / 0.6667 GB, free: 7.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.6662, allocations: 1.318 MB / 0.668 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.6667, allocations: 315.3 kB / 0.6683 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.6669, allocations: 16 kB / 0.6683 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.6675, allocations: 94.12 kB / 0.6684 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-05/0.6676, allocations: 52.48 kB / 0.6685 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.6677, allocations: 31.98 kB / 0.6685 GB, free: 5.953 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009511/0.6686, allocations: 0.6647 MB / 0.6692 GB, free: 5.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6687, allocations: 0 / 0.6692 GB, free: 5.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001976/0.6706, allocations: 0.7289 MB / 0.6699 GB, free: 4.551 MB / 494.1 MB 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.001007/0.6717, allocations: 0.5489 MB / 0.6704 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.6734, allocations: 1.052 MB / 0.6714 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6734, allocations: 0 / 0.6714 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.674, allocations: 422.5 kB / 0.6718 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.6766, allocations: 0.5705 MB / 0.6724 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/0.6814, allocations: 2.716 MB / 0.675 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008284/0.6823, allocations: 1.133 MB / 0.6762 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6837, allocations: 302.2 kB / 0.6764 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.6839, allocations: 111.4 kB / 0.6765 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/0.6839, allocations: 3.938 kB / 0.6766 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.0476/0.7315, allocations: 25.79 MB / 0.7017 GB, free: 4.188 MB / 0.5137 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)