Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7198/0.7198, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001069, allocations: 176.9 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000932/0.0009321, allocations: 82.48 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.045e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.144, allocations: 76.74 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.338, allocations: 388.9 MB / 1.008 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/1.339, allocations: 84.77 kB / 1.008 GB, free: 125.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.119/7.457, allocations: 1.46 GB / 2.468 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/7.457, allocations: 1.25 kB / 2.468 GB, free: 72.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001146/7.458, allocations: 157.1 kB / 2.469 GB, free: 72.31 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01998/7.478, allocations: 4.563 MB / 2.473 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/7.478, allocations: 9.375 kB / 2.473 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006886/7.485, allocations: 0.8387 MB / 2.474 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02463/7.51, allocations: 7.831 MB / 2.481 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/7.511, allocations: 259.9 kB / 2.482 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/7.512, allocations: 347 kB / 2.482 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/7.527, allocations: 5.516 MB / 2.487 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-05/7.527, allocations: 9.375 kB / 2.487 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006335/7.528, allocations: 149.6 kB / 2.488 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/7.528, allocations: 85.78 kB / 2.488 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/7.539, allocations: 5.118 MB / 2.493 GB, free: 68.74 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.04536/7.584, allocations: 22.41 MB / 2.515 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00667/7.591, allocations: 2.829 MB / 2.517 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/7.594, allocations: 1.672 MB / 2.519 GB, free: 58.78 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01422/7.608, allocations: 6.446 MB / 2.525 GB, free: 56.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005886/7.614, allocations: 2.029 MB / 2.527 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01145/7.625, allocations: 2.022 MB / 2.529 GB, free: 56.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=155): time 3.037e-05/7.625, allocations: 0.5625 kB / 2.529 GB, free: 56.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155): time 0.02501/7.65, allocations: 5.103 MB / 2.534 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/7.651, allocations: 149.8 kB / 2.534 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/7.662, allocations: 4.297 MB / 2.538 GB, free: 55.49 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/7.663, allocations: 68.2 kB / 2.539 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003148/7.666, allocations: 2.48 MB / 2.541 GB, free: 54.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/7.667, allocations: 0.5554 MB / 2.542 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/7.668, allocations: 58.14 kB / 2.542 GB, free: 54.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002148/7.668, allocations: 413.6 kB / 2.542 GB, free: 54.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/7.671, allocations: 1.498 MB / 2.543 GB, free: 54.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/7.676, allocations: 2.787 MB / 2.546 GB, free: 52.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/7.68, allocations: 1.958 MB / 2.548 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.973e-05/7.68, allocations: 15.59 kB / 2.548 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0533/7.733, allocations: 9.099 MB / 2.557 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004159/7.737, allocations: 15.53 MB / 2.572 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/7.738, allocations: 35.44 kB / 2.572 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.12/7.858, allocations: 15.5 MB / 2.587 GB, free: 34.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004479/7.862, allocations: 0.6989 MB / 2.588 GB, free: 34.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/7.878, allocations: 5.057 MB / 2.593 GB, free: 49.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008219/7.886, allocations: 327 kB / 2.593 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/7.887, allocations: 162.6 kB / 2.593 GB, free: 49.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/7.887, allocations: 2.781 kB / 2.593 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03307/7.92, allocations: 7.982 MB / 2.601 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/7.921, allocations: 34.78 kB / 2.601 GB, free: 48.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08671/8.007, allocations: 15.28 MB / 2.616 GB, free: 48.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003411/8.011, allocations: 0.6922 MB / 2.617 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/8.022, allocations: 7.395 MB / 2.624 GB, free: 44.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/8.029, allocations: 287.1 kB / 2.624 GB, free: 44.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009262/8.03, allocations: 152.7 kB / 2.624 GB, free: 44.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001355/8.032, allocations: 297 kB / 2.625 GB, free: 44.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002077/8.034, allocations: 461.5 kB / 2.625 GB, free: 44.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02653/8.06, allocations: 7.004 MB / 2.632 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-05/8.06, allocations: 18.83 kB / 2.632 GB, free: 44.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/8.06, allocations: 4 kB / 2.632 GB, free: 44.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01233/8.073, allocations: 5.935 MB / 2.638 GB, free: 42.67 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03992/8.113, allocations: 13.39 MB / 2.651 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-05/8.113, allocations: 0 / 2.651 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002902/8.116, allocations: 421.5 kB / 2.651 GB, free: 41.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0615/8.177, allocations: 11.75 MB / 2.663 GB, free: 35.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007851/8.178, allocations: 51.7 kB / 2.663 GB, free: 35.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/8.202, allocations: 9.769 MB / 2.672 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/8.202, allocations: 6.828 kB / 2.672 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0284/8.231, allocations: 9.959 MB / 2.682 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005324/8.236, allocations: 1.068 MB / 2.683 GB, free: 20.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/8.239, allocations: 28 kB / 2.683 GB, free: 20.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006231/8.245, allocations: 284.9 kB / 2.683 GB, free: 20.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006334/8.246, allocations: 116.1 kB / 2.684 GB, free: 20.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004204/8.246, allocations: 86.69 kB / 2.684 GB, free: 20.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.006744/8.253, allocations: 3.327 MB / 2.687 GB, free: 17.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/8.253, allocations: 0 / 2.687 GB, free: 17.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01729/8.27, allocations: 2.765 MB / 2.69 GB, free: 14.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003762/8.274, allocations: 1.263 MB / 2.691 GB, free: 13.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02265/8.297, allocations: 7.573 MB / 2.698 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/8.297, allocations: 4.781 kB / 2.698 GB, free: 6.691 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009632/8.306, allocations: 3.031 MB / 2.701 GB, free: 4.047 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/8.322, allocations: 2.55 MB / 2.704 GB, free: 2.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6063/8.928, allocations: 8.206 MB / 2.712 GB, free: 85.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004174/8.932, allocations: 3.321 MB / 2.715 GB, free: 84.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01456/8.947, allocations: 3.111 MB / 2.718 GB, free: 84.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001558/8.949, allocations: 262.9 kB / 2.718 GB, free: 84.91 MB / 0.698 GB Notification: Performance of SimCode: time 3.286e-06/8.949, allocations: 3.844 kB / 2.718 GB, free: 84.91 MB / 0.698 GB Notification: Performance of Templates: time 0.2311/9.18, allocations: 127.6 MB / 2.843 GB, free: 72.9 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)