Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6937/0.6937, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 396.8 MB, free: 9.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008957/0.0008957, allocations: 100.6 kB / 479 MB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.505e-05, allocations: 5.766 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1639, allocations: 81.58 MB / 0.6347 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.476, allocations: 380 MB / 1.006 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.477, allocations: 91.25 kB / 1.006 GB, free: 205.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.022/7.498, allocations: 1.477 GB / 2.483 GB, free: 69.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.284e-06/7.498, allocations: 0 / 2.483 GB, free: 69.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001396/7.5, allocations: 160.7 kB / 2.484 GB, free: 69.27 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.01787/7.518, allocations: 4.561 MB / 2.488 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/7.518, allocations: 14.16 kB / 2.488 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/7.524, allocations: 0.8136 MB / 2.489 GB, free: 66.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02172/7.545, allocations: 6.85 MB / 2.495 GB, free: 65.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/7.546, allocations: 274.5 kB / 2.496 GB, free: 65.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/7.548, allocations: 345.5 kB / 2.496 GB, free: 65.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/7.563, allocations: 5.249 MB / 2.501 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/7.563, allocations: 6.875 kB / 2.501 GB, free: 62.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001585/7.565, allocations: 150.5 kB / 2.501 GB, free: 61.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/7.565, allocations: 116.5 kB / 2.501 GB, free: 61.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/7.575, allocations: 4.916 MB / 2.506 GB, free: 59.69 MB / 0.7136 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.04579/7.621, allocations: 22.79 MB / 2.529 GB, free: 41.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003611/7.625, allocations: 2.474 MB / 2.531 GB, free: 38.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/7.627, allocations: 1.776 MB / 2.533 GB, free: 36.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01322/7.64, allocations: 7.14 MB / 2.54 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002283/7.643, allocations: 1.786 MB / 2.541 GB, free: 27.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00665/7.649, allocations: 2.056 MB / 2.543 GB, free: 25.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.075e-05/7.649, allocations: 0 / 2.543 GB, free: 25.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.006472/7.656, allocations: 4.048 MB / 2.547 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/7.656, allocations: 72.72 kB / 2.547 GB, free: 21.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006695/7.663, allocations: 4.543 MB / 2.552 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005088/7.663, allocations: 69.7 kB / 2.552 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/7.665, allocations: 2.465 MB / 2.554 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/7.666, allocations: 0.5585 MB / 2.555 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/7.666, allocations: 52 kB / 2.555 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001335/7.666, allocations: 419.3 kB / 2.555 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/7.668, allocations: 1.446 MB / 2.557 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/7.67, allocations: 2.739 MB / 2.559 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/7.672, allocations: 1.924 MB / 2.561 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/7.672, allocations: 12 kB / 2.561 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.6941/8.367, allocations: 8.446 MB / 2.57 GB, free: 75.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.003776/8.37, allocations: 15.3 MB / 2.584 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-05/8.371, allocations: 32.56 kB / 2.585 GB, free: 58.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09226/8.463, allocations: 15.4 MB / 2.6 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/8.467, allocations: 0.6506 MB / 2.6 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008486/8.475, allocations: 4.711 MB / 2.605 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00657/8.482, allocations: 369.6 kB / 2.605 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007591/8.482, allocations: 152.6 kB / 2.605 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/8.482, allocations: 3.672 kB / 2.605 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03083/8.513, allocations: 7.934 MB / 2.613 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/8.514, allocations: 37.31 kB / 2.613 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08708/8.601, allocations: 15.32 MB / 2.628 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/8.604, allocations: 0.6452 MB / 2.629 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/8.615, allocations: 7.696 MB / 2.636 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006677/8.622, allocations: 342.4 kB / 2.636 GB, free: 53.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006071/8.622, allocations: 154.4 kB / 2.637 GB, free: 53.47 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.00112/8.623, allocations: 283.3 kB / 2.637 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001437/8.625, allocations: 468.7 kB / 2.637 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0241/8.649, allocations: 6.791 MB / 2.644 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.343e-05/8.649, allocations: 22.86 kB / 2.644 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/8.649, allocations: 0 / 2.644 GB, free: 53.13 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01179/8.661, allocations: 6.094 MB / 2.65 GB, free: 51.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/8.69, allocations: 12.53 MB / 2.662 GB, free: 50.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/8.691, allocations: 0 / 2.662 GB, free: 50.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/8.693, allocations: 375.6 kB / 2.663 GB, free: 50.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06248/8.756, allocations: 11.63 MB / 2.674 GB, free: 49.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006063/8.756, allocations: 50.95 kB / 2.674 GB, free: 49.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008048/8.764, allocations: 4.115 MB / 2.678 GB, free: 64.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/8.764, allocations: 0 / 2.678 GB, free: 64.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02054/8.785, allocations: 9.18 MB / 2.687 GB, free: 63.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005214/8.79, allocations: 1.109 MB / 2.688 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002065/8.792, allocations: 28 kB / 2.688 GB, free: 63.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/8.797, allocations: 301.6 kB / 2.688 GB, free: 63.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003824/8.798, allocations: 110.1 kB / 2.688 GB, free: 63.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003412/8.798, allocations: 79.86 kB / 2.689 GB, free: 63.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.006809/8.805, allocations: 3.503 MB / 2.692 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/8.805, allocations: 0 / 2.692 GB, free: 63.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01393/8.819, allocations: 2.78 MB / 2.695 GB, free: 62.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[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 (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.003006/8.822, allocations: 1.208 MB / 2.696 GB, free: 62.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01586/8.838, allocations: 7.266 MB / 2.703 GB, free: 62.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/8.838, allocations: 1.812 kB / 2.703 GB, free: 62.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005479/8.843, allocations: 2.427 MB / 2.705 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01596/8.859, allocations: 2.677 MB / 2.708 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/8.879, allocations: 7.776 MB / 2.716 GB, free: 60.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/8.883, allocations: 3.331 MB / 2.719 GB, free: 59.49 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01173/8.894, allocations: 3.047 MB / 2.722 GB, free: 59.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/8.896, allocations: 265.3 kB / 2.722 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.723e-06/8.896, allocations: 0 / 2.722 GB, free: 59.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.7996/9.695, allocations: 122.8 MB / 2.842 GB, free: 108.4 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)