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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7609/0.7609, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001147/0.001147, allocations: 178.2 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.963/1.963, allocations: 205.4 MB / 394.8 MB, free: 20.94 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.000881/0.0008809, allocations: 94.22 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 12 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4229, allocations: 74.55 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.562, allocations: 388 MB / 0.994 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003448/1.563, allocations: 97.16 kB / 0.9941 GB, free: 233.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.106/6.668, allocations: 1.455 GB / 2.449 GB, free: 47.48 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.019e-06/6.669, allocations: 8 kB / 2.449 GB, free: 47.47 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001192/6.67, allocations: 155.7 kB / 2.449 GB, free: 47.34 MB / 0.6667 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.0218/6.692, allocations: 5.827 MB / 2.455 GB, free: 41.51 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/6.692, allocations: 8.031 kB / 2.455 GB, free: 41.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/6.698, allocations: 0.8411 MB / 2.455 GB, free: 40.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/6.719, allocations: 7.625 MB / 2.463 GB, free: 33.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/6.72, allocations: 262.9 kB / 2.463 GB, free: 32.88 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/6.722, allocations: 351 kB / 2.463 GB, free: 32.54 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/6.738, allocations: 5.686 MB / 2.469 GB, free: 26.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002193/6.739, allocations: 15.81 kB / 2.469 GB, free: 26.59 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/6.74, allocations: 148 kB / 2.469 GB, free: 26.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.712e-05/6.74, allocations: 87.94 kB / 2.469 GB, free: 26.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/6.753, allocations: 5.316 MB / 2.474 GB, free: 21.03 MB / 0.6667 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.5504/7.304, allocations: 22.29 MB / 2.496 GB, free: 61.48 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008039/7.312, allocations: 2.866 MB / 2.499 GB, free: 61.44 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00297/7.315, allocations: 1.78 MB / 2.501 GB, free: 61.43 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01298/7.328, allocations: 6.377 MB / 2.507 GB, free: 59.38 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005118/7.333, allocations: 2.147 MB / 2.509 GB, free: 59.31 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007193/7.34, allocations: 2.033 MB / 2.511 GB, free: 59.31 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=154): time 1.508e-05/7.34, allocations: 0 / 2.511 GB, free: 59.31 MB / 0.6667 GB Notification: Performance of matching and sorting (n=154): time 0.0304/7.371, allocations: 8.145 MB / 2.519 GB, free: 58.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.864e-05/7.371, allocations: 145.8 kB / 2.519 GB, free: 58.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/7.382, allocations: 4.594 MB / 2.524 GB, free: 58.47 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0008796/7.383, allocations: 70.27 kB / 2.524 GB, free: 58.44 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003192/7.386, allocations: 2.486 MB / 2.526 GB, free: 58.04 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/7.388, allocations: 0.5458 MB / 2.527 GB, free: 57.77 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/7.388, allocations: 52.72 kB / 2.527 GB, free: 57.77 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000243/7.388, allocations: 414.3 kB / 2.527 GB, free: 57.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/7.392, allocations: 1.609 MB / 2.529 GB, free: 57.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/7.396, allocations: 2.9 MB / 2.531 GB, free: 55.89 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008476/7.405, allocations: 4.44 MB / 2.536 GB, free: 54.64 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.791e-05/7.405, allocations: 10.12 kB / 2.536 GB, free: 54.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.02065/7.425, allocations: 6.566 MB / 2.542 GB, free: 54.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008985/7.426, allocations: 1.109 MB / 2.543 GB, free: 52.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/7.426, allocations: 45.31 kB / 2.543 GB, free: 52.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06377/7.49, allocations: 11.65 MB / 2.555 GB, free: 52.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003392/7.494, allocations: 0.6494 MB / 2.555 GB, free: 52.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03053/7.524, allocations: 11.72 MB / 2.567 GB, free: 49.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/7.531, allocations: 338.1 kB / 2.567 GB, free: 49.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009052/7.532, allocations: 156.5 kB / 2.567 GB, free: 49.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/7.532, allocations: 7.25 kB / 2.567 GB, free: 49.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009292/7.541, allocations: 5.052 MB / 2.572 GB, free: 49.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/7.541, allocations: 32.59 kB / 2.572 GB, free: 49.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0618/7.603, allocations: 11.33 MB / 2.583 GB, free: 48.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/7.606, allocations: 0.6345 MB / 2.584 GB, free: 48.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/7.617, allocations: 7.42 MB / 2.591 GB, free: 45.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005735/7.623, allocations: 291.4 kB / 2.591 GB, free: 45.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008522/7.624, allocations: 155 kB / 2.592 GB, free: 45.27 MB / 0.6667 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 (286): * Single equations (assignments): 279 * 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.004548/7.628, allocations: 1.55 MB / 2.593 GB, free: 45.08 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/7.63, allocations: 459.8 kB / 2.594 GB, free: 44.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/7.647, allocations: 5.762 MB / 2.599 GB, free: 44.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/7.647, allocations: 20.59 kB / 2.599 GB, free: 44.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/7.647, allocations: 0 / 2.599 GB, free: 44.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01633/7.664, allocations: 6.777 MB / 2.606 GB, free: 43.2 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.0393/7.703, allocations: 13.3 MB / 2.619 GB, free: 41.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/7.703, allocations: 3.703 kB / 2.619 GB, free: 41.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002314/7.705, allocations: 370.1 kB / 2.619 GB, free: 41.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06322/7.769, allocations: 11.84 MB / 2.631 GB, free: 41.15 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/7.769, allocations: 51.16 kB / 2.631 GB, free: 41.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02649/7.796, allocations: 10.24 MB / 2.641 GB, free: 37.76 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.796, allocations: 0 / 2.641 GB, free: 37.76 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02904/7.825, allocations: 10.02 MB / 2.651 GB, free: 37.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004205/7.829, allocations: 1.024 MB / 2.652 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/7.831, allocations: 25.12 kB / 2.652 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004908/7.836, allocations: 285.5 kB / 2.652 GB, free: 36.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/7.837, allocations: 119.7 kB / 2.652 GB, free: 36.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005932/7.838, allocations: 86.14 kB / 2.652 GB, free: 36.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.008137/7.846, allocations: 3.13 MB / 2.655 GB, free: 36.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.71e-07/7.846, allocations: 0 / 2.655 GB, free: 36.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01663/7.863, allocations: 2.781 MB / 2.658 GB, free: 36.54 MB / 0.6667 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 (124): * Single equations (assignments): 116 * 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.003417/7.866, allocations: 1.228 MB / 2.659 GB, free: 36.22 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.02094/7.887, allocations: 8.031 MB / 2.667 GB, free: 35.39 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/7.887, allocations: 4.781 kB / 2.667 GB, free: 35.39 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.009156/7.896, allocations: 3.144 MB / 2.67 GB, free: 35.08 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01651/7.913, allocations: 2.532 MB / 2.672 GB, free: 34.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02622/7.939, allocations: 11.46 MB / 2.684 GB, free: 27.35 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004777/7.944, allocations: 3.248 MB / 2.687 GB, free: 25.16 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.008208/7.952, allocations: 1.684 MB / 2.688 GB, free: 24.04 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/7.954, allocations: 343.7 kB / 2.689 GB, free: 23.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.864e-06/7.954, allocations: 0 / 2.689 GB, free: 23.74 MB / 0.6667 GB Notification: Performance of Templates: time 0.6511/8.605, allocations: 120.9 MB / 2.807 GB, free: 71.85 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)