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.7631/0.7631, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 193.6 kB / 173.8 MB, free: 6.105 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.824/1.824, allocations: 205.4 MB / 409 MB, free: 10.48 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.00096/0.0009601, allocations: 89.67 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003614, allocations: 11.31 kB / 0.5603 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 76.77 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.331, allocations: 388.9 MB / 1.015 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/1.332, allocations: 91.25 kB / 1.015 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.192/6.524, allocations: 1.466 GB / 2.481 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/6.524, allocations: 0 / 2.481 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001026/6.525, allocations: 155 kB / 2.481 GB, free: 32.41 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.01974/6.544, allocations: 5.89 MB / 2.487 GB, free: 26.44 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/6.545, allocations: 15.97 kB / 2.487 GB, free: 26.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005523/6.55, allocations: 0.8402 MB / 2.488 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/6.571, allocations: 7.88 MB / 2.495 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004284/6.571, allocations: 262.5 kB / 2.496 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/6.573, allocations: 344 kB / 2.496 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/6.587, allocations: 5.658 MB / 2.501 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.68e-05/6.587, allocations: 11.88 kB / 2.501 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005614/6.588, allocations: 144 kB / 2.502 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/6.588, allocations: 80 kB / 2.502 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/6.599, allocations: 5.324 MB / 2.507 GB, free: 5.586 MB / 0.6823 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.4951/7.094, allocations: 22.42 MB / 2.529 GB, free: 56.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007486/7.102, allocations: 2.988 MB / 2.532 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/7.116, allocations: 6.428 MB / 2.538 GB, free: 54.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005739/7.122, allocations: 2.14 MB / 2.54 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007693/7.13, allocations: 2.024 MB / 2.542 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=155): time 1.759e-05/7.13, allocations: 0 / 2.542 GB, free: 54.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155): time 0.03134/7.161, allocations: 7.759 MB / 2.55 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/7.161, allocations: 154.7 kB / 2.55 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01123/7.172, allocations: 4.348 MB / 2.554 GB, free: 53.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009363/7.173, allocations: 74.16 kB / 2.554 GB, free: 53.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.003011/7.176, allocations: 2.486 MB / 2.556 GB, free: 52.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/7.178, allocations: 0.5506 MB / 2.557 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/7.178, allocations: 56.67 kB / 2.557 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000204/7.178, allocations: 408.6 kB / 2.557 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/7.181, allocations: 1.608 MB / 2.559 GB, free: 51.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/7.185, allocations: 2.89 MB / 2.562 GB, free: 50.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/7.189, allocations: 2.062 MB / 2.564 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/7.189, allocations: 10.5 kB / 2.564 GB, free: 50.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01809/7.207, allocations: 6.332 MB / 2.57 GB, free: 49.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.005484/7.212, allocations: 15.52 MB / 2.585 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/7.212, allocations: 33.78 kB / 2.585 GB, free: 49.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06911/7.282, allocations: 11.67 MB / 2.597 GB, free: 49.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/7.285, allocations: 0.6947 MB / 2.597 GB, free: 49.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/7.297, allocations: 5.217 MB / 2.602 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006582/7.304, allocations: 325.2 kB / 2.603 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007948/7.305, allocations: 166.1 kB / 2.603 GB, free: 47.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/7.305, allocations: 0.625 kB / 2.603 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008121/7.313, allocations: 5.048 MB / 2.608 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/7.313, allocations: 40.38 kB / 2.608 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06552/7.378, allocations: 11.34 MB / 2.619 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/7.382, allocations: 0.6897 MB / 2.62 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/7.392, allocations: 7.478 MB / 2.627 GB, free: 43.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/7.398, allocations: 283.6 kB / 2.627 GB, free: 43.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006004/7.398, allocations: 153.6 kB / 2.627 GB, free: 43.36 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 () * Number of clocked 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.004223/7.403, allocations: 1.553 MB / 2.629 GB, free: 43.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/7.405, allocations: 464.3 kB / 2.629 GB, free: 42.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/7.422, allocations: 5.775 MB / 2.635 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-05/7.422, allocations: 22.78 kB / 2.635 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/7.422, allocations: 0 / 2.635 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01421/7.436, allocations: 6.192 MB / 2.641 GB, free: 41.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03959/7.476, allocations: 13.67 MB / 2.654 GB, free: 40.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-05/7.476, allocations: 3.844 kB / 2.654 GB, free: 40.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/7.478, allocations: 415.3 kB / 2.655 GB, free: 40.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06534/7.544, allocations: 11.85 MB / 2.666 GB, free: 39.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006347/7.544, allocations: 46.34 kB / 2.666 GB, free: 39.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02923/7.574, allocations: 10.61 MB / 2.677 GB, free: 35.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.574, allocations: 3.953 kB / 2.677 GB, free: 35.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0315/7.605, allocations: 10.31 MB / 2.687 GB, free: 35.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/7.61, allocations: 1.069 MB / 2.688 GB, free: 34.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001905/7.612, allocations: 29.75 kB / 2.688 GB, free: 34.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005043/7.617, allocations: 288.5 kB / 2.688 GB, free: 34.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005893/7.617, allocations: 114 kB / 2.688 GB, free: 34.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003523/7.618, allocations: 84.38 kB / 2.688 GB, free: 34.86 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005804/7.624, allocations: 3.374 MB / 2.692 GB, free: 34.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/7.624, allocations: 0 / 2.692 GB, free: 34.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01292/7.637, allocations: 2.77 MB / 2.694 GB, free: 34.56 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) * Number of clocked states: 0 () * 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.00278/7.639, allocations: 1.265 MB / 2.696 GB, free: 34.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02093/7.66, allocations: 7.695 MB / 2.703 GB, free: 33.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/7.66, allocations: 2.469 kB / 2.703 GB, free: 33.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009762/7.67, allocations: 3.142 MB / 2.706 GB, free: 33.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/7.683, allocations: 2.556 MB / 2.709 GB, free: 33.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/7.71, allocations: 11.48 MB / 2.72 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004906/7.715, allocations: 3.311 MB / 2.723 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008617/7.724, allocations: 1.712 MB / 2.725 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/7.726, allocations: 352.4 kB / 2.725 GB, free: 24.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/7.726, allocations: 0 / 2.725 GB, free: 24.43 MB / 0.698 GB Notification: Performance of Templates: time 0.6674/8.393, allocations: 117.2 MB / 2.84 GB, free: 84.85 MB / 0.7136 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)