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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008749/0.0008749, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9972/0.9972, allocations: 177.1 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5981/0.5981, allocations: 115 MB / 376 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.114e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.01183/0.01184, allocations: 15.9 MB / 444.6 MB, free: 2.828 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2078/0.2196, allocations: 7.989 MB / 452.6 MB, free: 17.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.2219, allocations: 87.66 kB / 452.7 MB, free: 17.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.223, allocations: 402 kB / 453.1 MB, free: 17.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004551/0.2275, allocations: 1.757 MB / 454.9 MB, free: 17.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.2313, allocations: 1.611 MB / 456.5 MB, free: 16.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.2365, allocations: 4.053 MB / 460.5 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.2381, allocations: 1.023 MB / 461.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00438/0.2425, allocations: 2.041 MB / 463.6 MB, free: 13.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2444, allocations: 0.8794 MB / 464.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002904/0.2447, allocations: 124.5 kB / 464.6 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.2461, allocations: 0.7119 MB / 465.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.2463, allocations: 347.8 kB / 465.6 MB, free: 12.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.247, allocations: 0.5369 MB / 466.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.2489, allocations: 1.496 MB / 467.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2489, allocations: 7.062 kB / 467.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2489, allocations: 0 / 467.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.664e-05/0.249, allocations: 0.625 kB / 467.7 MB, free: 11.5 MB / 410.7 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.001725/0.2507, allocations: 1.665 MB / 469.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2507, allocations: 8.906 kB / 469.3 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004219/0.2512, allocations: 226 kB / 469.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2523, allocations: 0.9241 MB / 470.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.2524, allocations: 63.66 kB / 470.6 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.2525, allocations: 91.84 kB / 470.6 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.2531, allocations: 0.8072 MB / 471.5 MB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2531, allocations: 4 kB / 471.5 MB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.2532, allocations: 32 kB / 471.5 MB, free: 8.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.2532, allocations: 36.77 kB / 471.5 MB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002921/0.2535, allocations: 254.2 kB / 471.8 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.2558, allocations: 2.943 MB / 474.7 MB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.2561, allocations: 259.4 kB / 475 MB, free: 5.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.2562, allocations: 92.28 kB / 475.1 MB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.2564, allocations: 85.95 kB / 475.1 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.2565, allocations: 43 kB / 475.2 MB, free: 5.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.2565, allocations: 0.7812 kB / 475.2 MB, free: 5.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0008108/0.2573, allocations: 454 kB / 475.6 MB, free: 4.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.2573, allocations: 59.91 kB / 475.7 MB, free: 4.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.2577, allocations: 0.8043 MB / 476.5 MB, free: 4.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.2578, allocations: 37.7 kB / 476.5 MB, free: 4.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2579, allocations: 473.5 kB / 477 MB, free: 3.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.258, allocations: 196.3 kB / 477.2 MB, free: 3.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2581, allocations: 152.3 kB / 477.3 MB, free: 3.297 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.703e-05/0.2581, allocations: 341.1 kB / 477.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.2582, allocations: 83.11 kB / 477.7 MB, free: 2.891 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.2584, allocations: 428 kB / 478.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.2587, allocations: 477.5 kB / 478.6 MB, free: 1.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2587, allocations: 4 kB / 478.6 MB, free: 1.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0005486/0.2592, allocations: 0.5051 MB / 479.1 MB, free: 1.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2592, allocations: 9 kB / 479.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.2592, allocations: 11.98 kB / 479.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.2596, allocations: 110.7 kB / 479.3 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.2599, allocations: 152.4 kB / 479.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002084/0.2601, allocations: 0.5554 MB / 480 MB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2604, allocations: 76.64 kB / 480 MB, free: 384 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.2604, allocations: 37.11 kB / 480.1 MB, free: 348 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001859/0.2606, allocations: 170.2 kB / 480.2 MB, free: 172 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002367/0.2609, allocations: 432.8 kB / 480.7 MB, free: 15.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003817/0.2612, allocations: 475.7 kB / 481.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.977e-06/0.2613, allocations: 0 / 481.1 MB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.0006445/0.2619, allocations: 0.5051 MB / 481.6 MB, free: 14.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2619, allocations: 8 kB / 481.6 MB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.2619, allocations: 11.98 kB / 481.7 MB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.2622, allocations: 120.3 kB / 481.8 MB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.2625, allocations: 148.7 kB / 481.9 MB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002629/0.2627, allocations: 0.5569 MB / 482.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.2631, allocations: 59.62 kB / 482.5 MB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/0.2631, allocations: 33.77 kB / 482.6 MB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (88): * Single equations (assignments): 85 * 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.0001687/0.2633, allocations: 240.7 kB / 482.8 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.2634, allocations: 75.91 kB / 482.9 MB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.2642, allocations: 0.637 MB / 483.5 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.2643, allocations: 15.98 kB / 483.5 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.2643, allocations: 0 / 483.5 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003743/0.2646, allocations: 395.5 kB / 483.9 MB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.2661, allocations: 1.162 MB / 485.1 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.2661, allocations: 4 kB / 485.1 MB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.2663, allocations: 95.83 kB / 485.2 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001969/0.2665, allocations: 64 kB / 485.2 MB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.2665, allocations: 19.98 kB / 485.3 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002652/0.2668, allocations: 0.5512 MB / 485.8 MB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2668, allocations: 3.938 kB / 485.8 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.2675, allocations: 0.6857 MB / 486.5 MB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.2678, allocations: 166.9 kB / 486.7 MB, free: 9.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.2679, allocations: 17.17 kB / 486.7 MB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.2681, allocations: 16.66 kB / 486.7 MB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.2682, allocations: 56.55 kB / 486.8 MB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.2682, allocations: 29.75 kB / 486.8 MB, free: 9.457 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003028/0.2685, allocations: 398.6 kB / 487.2 MB, free: 9.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2685, allocations: 0 / 487.2 MB, free: 9.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001177/0.2697, allocations: 0.6119 MB / 487.8 MB, free: 8.496 MB / 426.7 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 (64): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.0003819/0.2701, allocations: 230.7 kB / 488 MB, free: 8.281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.2709, allocations: 0.698 MB / 488.7 MB, free: 7.574 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/0.2709, allocations: 12 kB / 488.7 MB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.2712, allocations: 256.5 kB / 489 MB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.2724, allocations: 0.5669 MB / 489.5 MB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.2749, allocations: 1.89 MB / 491.4 MB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2751, allocations: 230.6 kB / 491.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006692/0.2757, allocations: 261.5 kB / 491.9 MB, free: 4.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007868/0.2765, allocations: 475.9 kB / 492.4 MB, free: 4 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.2765, allocations: 4 kB / 492.4 MB, free: 3.996 MB / 426.7 MB Notification: Performance of Templates: time 0.02911/0.3056, allocations: 25.11 MB / 0.5054 GB, free: 11.72 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.183958956971765]