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.001214/0.001214, allocations: 100.9 kB / 16.4 MB, free: 6.504 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.001216/0.001216, allocations: 196 kB / 17.34 MB, free: 5.742 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6694/0.6694, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 67.66 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1334, allocations: 76.17 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05435/0.1878, allocations: 60.7 MB / 0.6914 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.2066, allocations: 14.66 MB / 0.7057 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.2087, allocations: 59.69 kB / 0.7057 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.2105, allocations: 0.7296 MB / 0.7064 GB, free: 7.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/0.2158, allocations: 2.249 MB / 0.7086 GB, free: 5.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.2196, allocations: 1.685 MB / 0.7103 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004726/0.2244, allocations: 4.036 MB / 0.7142 GB, free: 12 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.226, allocations: 1.285 MB / 0.7155 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003485/0.2295, allocations: 1.625 MB / 0.7171 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.231, allocations: 1.085 MB / 0.7181 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.2312, allocations: 136 kB / 0.7183 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.2344, allocations: 1.712 MB / 0.7199 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2347, allocations: 338.8 kB / 0.7202 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007556/0.2355, allocations: 0.7854 MB / 0.721 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.2391, allocations: 2.715 MB / 0.7237 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2391, allocations: 0 / 0.7237 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2391, allocations: 0 / 0.7237 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.2392, allocations: 8 kB / 0.7237 GB, free: 6.27 MB / 0.5606 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.002877/0.242, allocations: 1.849 MB / 0.7255 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2421, allocations: 8.031 kB / 0.7255 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.2425, allocations: 159.2 kB / 0.7256 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.2445, allocations: 1.329 MB / 0.7269 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.2446, allocations: 58 kB / 0.727 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2447, allocations: 88 kB / 0.7271 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.2462, allocations: 0.9553 MB / 0.728 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.2463, allocations: 3.938 kB / 0.728 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-05/0.2463, allocations: 36 kB / 0.728 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.2464, allocations: 24 kB / 0.7281 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2475, allocations: 0.6713 MB / 0.7287 GB, free: 0.9414 MB / 0.5606 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.005075/0.2526, allocations: 5.212 MB / 0.7338 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000733/0.2533, allocations: 411.8 kB / 0.7342 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2537, allocations: 238.1 kB / 0.7344 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.255, allocations: 1.595 MB / 0.736 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.255, allocations: 35 kB / 0.736 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.2551, allocations: 4 kB / 0.736 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.002117/0.2572, allocations: 0.9329 MB / 0.7369 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.2572, allocations: 59.78 kB / 0.737 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2584, allocations: 0.9968 MB / 0.738 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.2585, allocations: 41.69 kB / 0.738 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/0.2589, allocations: 0.5774 MB / 0.7386 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.259, allocations: 193.2 kB / 0.7388 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.2592, allocations: 134.2 kB / 0.7389 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2593, allocations: 341.9 kB / 0.7392 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.2597, allocations: 207.7 kB / 0.7394 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.2601, allocations: 400.9 kB / 0.7398 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008145/0.261, allocations: 0.6256 MB / 0.7404 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.261, allocations: 4 kB / 0.7404 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001568/0.2626, allocations: 0.8262 MB / 0.7412 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2626, allocations: 8 kB / 0.7412 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.2626, allocations: 8 kB / 0.7412 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.2631, allocations: 117.1 kB / 0.7413 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.2635, allocations: 139.9 kB / 0.7415 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004564/0.264, allocations: 0.6031 MB / 0.7421 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005816/0.2646, allocations: 67.27 kB / 0.7421 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.2647, allocations: 44.05 kB / 0.7422 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006044/0.2653, allocations: 437.7 kB / 0.7426 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00045/0.2657, allocations: 400.9 kB / 0.743 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007997/0.2665, allocations: 0.6178 MB / 0.7436 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.2666, allocations: 7.938 kB / 0.7436 GB, free: 496 kB / 0.5762 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.2967/0.5633, allocations: 0.8185 MB / 0.7444 GB, free: 108 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5633, allocations: 8.984 kB / 0.7444 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/0.5634, allocations: 8.578 kB / 0.7444 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/0.5639, allocations: 110 kB / 0.7445 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.5644, allocations: 143.4 kB / 0.7446 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/0.5648, allocations: 0.5916 MB / 0.7452 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008275/0.5657, allocations: 61.8 kB / 0.7453 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/0.5658, allocations: 35.09 kB / 0.7453 GB, free: 107.5 MB / 0.5762 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.0002355/0.566, allocations: 220.5 kB / 0.7455 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.5663, allocations: 118.5 kB / 0.7456 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.5686, allocations: 1.066 MB / 0.7467 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.512e-05/0.5686, allocations: 16.2 kB / 0.7467 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5686, allocations: 0 / 0.7467 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/0.5699, allocations: 0.7999 MB / 0.7475 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.5733, allocations: 2.102 MB / 0.7495 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.5733, allocations: 5.188 kB / 0.7495 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.5737, allocations: 102.9 kB / 0.7496 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/0.574, allocations: 64.97 kB / 0.7497 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.5741, allocations: 22.97 kB / 0.7497 GB, free: 106.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003037/0.5744, allocations: 0.5939 MB / 0.7503 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5744, allocations: 10.61 kB / 0.7503 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.5766, allocations: 1.307 MB / 0.7516 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000444/0.577, allocations: 296.3 kB / 0.7519 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.5772, allocations: 12.92 kB / 0.7519 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.5777, allocations: 33.17 kB / 0.7519 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5778, allocations: 48.64 kB / 0.7519 GB, free: 105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-05/0.5779, allocations: 35.48 kB / 0.752 GB, free: 105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001039/0.579, allocations: 0.6891 MB / 0.7527 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.579, allocations: 1.875 kB / 0.7527 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001713/0.5807, allocations: 0.7462 MB / 0.7534 GB, free: 104.6 MB / 0.5762 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.0009453/0.5816, allocations: 0.5799 MB / 0.754 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.5834, allocations: 1.057 MB / 0.755 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5834, allocations: 0.5312 kB / 0.755 GB, free: 104 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007403/0.5842, allocations: 429.2 kB / 0.7554 GB, free: 103.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.5868, allocations: 0.599 MB / 0.756 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5898, allocations: 2.125 MB / 0.7581 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007478/0.5906, allocations: 1.134 MB / 0.7592 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009481/0.5915, allocations: 313.1 kB / 0.7595 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.5917, allocations: 111.2 kB / 0.7596 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.11e-07/0.5918, allocations: 0 / 0.7596 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03406/0.6258, allocations: 28.16 MB / 0.7871 GB, free: 81.74 MB / 0.5762 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)