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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009214/0.0009215, allocations: 172.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4548/0.4548, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.3 MB / 348.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009385/0.0009388, allocations: 97.62 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 71.02 MB / 0.5595 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.376, allocations: 402.9 MB / 0.9529 GB, free: 228.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.376, allocations: 104.9 kB / 0.953 GB, free: 228.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.691/3.068, allocations: 0.5314 GB / 1.484 GB, free: 86.24 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/3.068, allocations: 0 / 1.484 GB, free: 86.24 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002285/3.068, allocations: 33.95 kB / 1.484 GB, free: 86.24 MB / 0.6042 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.00527/3.073, allocations: 1.795 MB / 1.486 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/3.074, allocations: 8.469 kB / 1.486 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008162/3.074, allocations: 160.6 kB / 1.486 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/3.09, allocations: 7.789 MB / 1.494 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/3.091, allocations: 67.91 kB / 1.494 GB, free: 84.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/3.091, allocations: 83.69 kB / 1.494 GB, free: 84.83 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/3.093, allocations: 0.9598 MB / 1.495 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/3.093, allocations: 3.5 kB / 1.495 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/3.093, allocations: 35.78 kB / 1.495 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/3.093, allocations: 27.19 kB / 1.495 GB, free: 84.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/3.094, allocations: 0.6353 MB / 1.496 GB, free: 84.64 MB / 0.6042 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.005867/3.1, allocations: 5.146 MB / 1.501 GB, free: 81.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/3.101, allocations: 405 kB / 1.501 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003565/3.101, allocations: 240.6 kB / 1.501 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/3.102, allocations: 1.594 MB / 1.503 GB, free: 79.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/3.102, allocations: 42.62 kB / 1.503 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 3.026e-06/3.102, allocations: 0 / 1.503 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.002129/3.105, allocations: 0.9267 MB / 1.504 GB, free: 79.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/3.105, allocations: 62.19 kB / 1.504 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/3.106, allocations: 0.9484 MB / 1.505 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/3.106, allocations: 38.55 kB / 1.505 GB, free: 79.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/3.106, allocations: 0.5789 MB / 1.506 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/3.107, allocations: 191.8 kB / 1.506 GB, free: 79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/3.107, allocations: 13.12 kB / 1.506 GB, free: 79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/3.107, allocations: 331.1 kB / 1.506 GB, free: 78.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/3.107, allocations: 193.3 kB / 1.506 GB, free: 78.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/3.108, allocations: 420.4 kB / 1.507 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/3.108, allocations: 0.6219 MB / 1.507 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/3.108, allocations: 0 / 1.507 GB, free: 78.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001683/3.11, allocations: 0.8209 MB / 1.508 GB, free: 78.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/3.11, allocations: 268.4 kB / 1.508 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/3.11, allocations: 7.062 kB / 1.508 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/3.111, allocations: 107.8 kB / 1.508 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/3.111, allocations: 148.7 kB / 1.509 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003889/3.112, allocations: 0.589 MB / 1.509 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/3.113, allocations: 123 kB / 1.509 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.85e-05/3.113, allocations: 37.05 kB / 1.509 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/3.113, allocations: 3.75 kB / 1.509 GB, free: 77.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/3.114, allocations: 0.6955 MB / 1.51 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/3.114, allocations: 6.75 kB / 1.51 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000427/3.115, allocations: 111.3 kB / 1.51 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/3.115, allocations: 139 kB / 1.51 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003357/3.115, allocations: 0.6037 MB / 1.511 GB, free: 76.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009735/3.116, allocations: 107.1 kB / 1.511 GB, free: 76.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/3.116, allocations: 34.98 kB / 1.511 GB, free: 76.67 MB / 0.6042 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 (80): * Single equations (assignments): 77 * 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.0006697/3.117, allocations: 388.2 kB / 1.511 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/3.117, allocations: 114.6 kB / 1.511 GB, free: 76.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/3.119, allocations: 1.05 MB / 1.512 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/3.119, allocations: 13.2 kB / 1.512 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/3.119, allocations: 3.844 kB / 1.512 GB, free: 76.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001119/3.12, allocations: 0.8012 MB / 1.513 GB, free: 76.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/3.124, allocations: 2.054 MB / 1.515 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/3.124, allocations: 3.938 kB / 1.515 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/3.125, allocations: 107 kB / 1.515 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/3.125, allocations: 83.47 kB / 1.515 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-05/3.125, allocations: 20.16 kB / 1.515 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003259/3.125, allocations: 0.5803 MB / 1.516 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/3.125, allocations: 3.844 kB / 1.516 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/3.127, allocations: 1.314 MB / 1.517 GB, free: 74.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006575/3.128, allocations: 298.8 kB / 1.518 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/3.128, allocations: 17.84 kB / 1.518 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/3.129, allocations: 86.48 kB / 1.518 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/3.129, allocations: 57.42 kB / 1.518 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/3.129, allocations: 29.64 kB / 1.518 GB, free: 74.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001072/3.13, allocations: 0.6456 MB / 1.518 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/3.13, allocations: 0 / 1.518 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002795/3.133, allocations: 0.7541 MB / 1.519 GB, free: 74.56 MB / 0.6042 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 (66): * Single equations (assignments): 51 * 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.001588/3.135, allocations: 0.7762 MB / 1.52 GB, free: 74.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001835/3.136, allocations: 1.047 MB / 1.521 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/3.136, allocations: 0 / 1.521 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005352/3.137, allocations: 434.4 kB / 1.521 GB, free: 74.15 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/3.14, allocations: 0.5624 MB / 1.522 GB, free: 74.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/3.144, allocations: 2.701 MB / 1.524 GB, free: 72.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/3.144, allocations: 1.129 MB / 1.526 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001212/3.145, allocations: 314 kB / 1.526 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/3.146, allocations: 108.2 kB / 1.526 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/3.146, allocations: 2.75 kB / 1.526 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.04082/3.186, allocations: 27.59 MB / 1.553 GB, free: 70.41 MB / 0.6042 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)