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.001592/0.001592, allocations: 107 kB / 17.03 MB, free: 5.699 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.001795/0.001795, allocations: 194.9 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.447/1.447, allocations: 222.9 MB / 241.7 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.714/0.714, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 59.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3327, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05295/0.3857, allocations: 60.71 MB / 0.6168 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.4067, allocations: 14.65 MB / 0.6312 GB, free: 9.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.4093, allocations: 63.62 kB / 0.6312 GB, free: 8.969 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002129/0.4115, allocations: 0.7141 MB / 0.6319 GB, free: 8.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006172/0.4177, allocations: 2.253 MB / 0.6341 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.4222, allocations: 1.686 MB / 0.6358 GB, free: 4.312 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005629/0.4278, allocations: 4.042 MB / 0.6397 GB, free: 268 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/0.4298, allocations: 1.278 MB / 0.641 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.4334, allocations: 1.582 MB / 0.6425 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.4349, allocations: 1.081 MB / 0.6436 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.4352, allocations: 136 kB / 0.6437 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/0.4387, allocations: 1.716 MB / 0.6454 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.4391, allocations: 338.8 kB / 0.6457 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009441/0.4401, allocations: 0.7854 MB / 0.6465 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.4442, allocations: 2.727 MB / 0.6491 GB, free: 6.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4443, allocations: 0 / 0.6491 GB, free: 6.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4443, allocations: 0 / 0.6491 GB, free: 6.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.4443, allocations: 3.938 kB / 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.003087/0.4474, allocations: 1.849 MB / 0.6509 GB, free: 4.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4475, allocations: 15.97 kB / 0.6509 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004927/0.448, allocations: 159.2 kB / 0.6511 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.4503, allocations: 1.316 MB / 0.6524 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.4503, allocations: 62 kB / 0.6524 GB, free: 3.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.4505, allocations: 88 kB / 0.6525 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.452, allocations: 0.9591 MB / 0.6535 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.4521, allocations: 4 kB / 0.6535 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.4522, allocations: 36 kB / 0.6535 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.4522, allocations: 24 kB / 0.6535 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.4534, allocations: 0.6674 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.005963/0.4594, allocations: 5.22 MB / 0.6593 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4605, allocations: 397.9 kB / 0.6596 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.4611, allocations: 242.1 kB / 0.6599 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.4632, allocations: 1.587 MB / 0.6614 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.4632, allocations: 46.94 kB / 0.6615 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 4.659e-06/0.4633, allocations: 4 kB / 0.6615 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.003831/0.4671, allocations: 0.9407 MB / 0.6624 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.4672, allocations: 55.84 kB / 0.6624 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.4696, allocations: 1.001 MB / 0.6634 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.4698, allocations: 41.7 kB / 0.6635 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006774/0.4704, allocations: 0.5813 MB / 0.664 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.4708, allocations: 197.2 kB / 0.6642 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000314/0.4711, allocations: 134.2 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4713, allocations: 334 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.4719, allocations: 199.7 kB / 0.6649 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.4728, allocations: 408.9 kB / 0.6652 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.4742, allocations: 0.6178 MB / 0.6658 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.4743, allocations: 4 kB / 0.6659 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002945/0.4772, allocations: 0.8224 MB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4773, allocations: 8 kB / 0.6667 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.4773, allocations: 12 kB / 0.6667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008703/0.4782, allocations: 117 kB / 0.6668 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007589/0.479, allocations: 135.8 kB / 0.6669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007883/0.4798, allocations: 0.5953 MB / 0.6675 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.4811, allocations: 79.2 kB / 0.6676 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.4812, allocations: 36.05 kB / 0.6676 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/0.4825, allocations: 446.5 kB / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009544/0.4835, allocations: 400.8 kB / 0.6684 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001817/0.4853, allocations: 0.6256 MB / 0.669 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.161e-06/0.4853, allocations: 0 / 0.669 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.0035/0.4889, allocations: 0.8301 MB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4889, allocations: 4 kB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/0.489, allocations: 8 kB / 0.6698 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009272/0.4899, allocations: 113.2 kB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/0.4908, allocations: 143.7 kB / 0.6701 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.4917, allocations: 0.5952 MB / 0.6707 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.4931, allocations: 63.58 kB / 0.6707 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4932, allocations: 39.92 kB / 0.6708 GB, free: 14.96 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.0003504/0.4936, allocations: 212.1 kB / 0.671 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004891/0.4941, allocations: 114.6 kB / 0.6711 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004124/0.4982, allocations: 1.078 MB / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/0.4983, allocations: 8 kB / 0.6721 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4983, allocations: 4 kB / 0.6721 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002543/0.5009, allocations: 0.803 MB / 0.6729 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00678/0.5077, allocations: 2.087 MB / 0.675 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.863e-05/0.5077, allocations: 4 kB / 0.675 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.5086, allocations: 104 kB / 0.6751 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/0.5092, allocations: 76.8 kB / 0.6751 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.5093, allocations: 19.98 kB / 0.6752 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006945/0.51, allocations: 0.5912 MB / 0.6757 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.5101, allocations: 4.094 kB / 0.6757 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004181/0.5143, allocations: 1.311 MB / 0.677 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009333/0.5152, allocations: 291.4 kB / 0.6773 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.5155, allocations: 16 kB / 0.6773 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.5167, allocations: 27.92 kB / 0.6773 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.5169, allocations: 60.42 kB / 0.6774 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.5171, allocations: 36.03 kB / 0.6774 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002003/0.5191, allocations: 0.6843 MB / 0.6781 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.01e-07/0.5191, allocations: 4 kB / 0.6781 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003392/0.5225, 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.001987/0.5245, allocations: 0.5768 MB / 0.6794 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00362/0.5282, allocations: 1.064 MB / 0.6804 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.5282, allocations: 4 kB / 0.6804 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5294, allocations: 426.6 kB / 0.6809 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005287/0.5347, allocations: 0.5917 MB / 0.6814 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.541, allocations: 2.131 MB / 0.6835 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.5423, allocations: 1.129 MB / 0.6846 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001808/0.5441, allocations: 311.3 kB / 0.6849 GB, free: 256 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.5445, allocations: 111.4 kB / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of SimCode: time 9.82e-07/0.5446, allocations: 0 / 0.685 GB, free: 144 kB / 0.5137 GB Notification: Performance of Templates: time 0.04687/0.5914, allocations: 27.96 MB / 0.7123 GB, free: 4.508 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)