Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00153/0.00153, allocations: 174.8 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-master/package.mo): time 0.8856/0.8856, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.514/1.514, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.0008736/0.0008732, allocations: 94.17 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.392e-05, allocations: 10.02 kB / 0.56 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1712, allocations: 82.29 MB / 0.6404 GB, free: 7.836 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.506, allocations: 380.3 MB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.507, allocations: 89.2 kB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.042/7.549, allocations: 1.477 GB / 2.489 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.837e-06/7.549, allocations: 0 / 2.489 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001575/7.55, allocations: 156.9 kB / 2.489 GB, free: 66.25 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.02002/7.571, allocations: 4.566 MB / 2.494 GB, free: 63.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/7.571, allocations: 15.28 kB / 2.494 GB, free: 63.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006517/7.577, allocations: 0.7999 MB / 2.495 GB, free: 63.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02353/7.601, allocations: 6.859 MB / 2.501 GB, free: 59.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/7.601, allocations: 258.6 kB / 2.502 GB, free: 59.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/7.603, allocations: 353.6 kB / 2.502 GB, free: 59.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/7.62, allocations: 5.249 MB / 2.507 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002605/7.62, allocations: 15.09 kB / 2.507 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001721/7.622, allocations: 141.1 kB / 2.507 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/7.622, allocations: 120.6 kB / 2.507 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01287/7.635, allocations: 4.922 MB / 2.512 GB, free: 53.64 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.04677/7.682, allocations: 22.79 MB / 2.534 GB, free: 32.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/7.686, allocations: 2.475 MB / 2.537 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/7.69, allocations: 1.761 MB / 2.539 GB, free: 28.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02006/7.71, allocations: 7.15 MB / 2.546 GB, free: 20.89 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003323/7.713, allocations: 1.792 MB / 2.547 GB, free: 19.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007825/7.721, allocations: 2.045 MB / 2.549 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 2.119e-05/7.721, allocations: 0 / 2.549 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.009143/7.73, allocations: 4.048 MB / 2.553 GB, free: 13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/7.73, allocations: 76.64 kB / 2.553 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/7.742, allocations: 4.543 MB / 2.558 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008794/7.743, allocations: 69.7 kB / 2.558 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.003404/7.746, allocations: 2.464 MB / 2.56 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/7.748, allocations: 0.5635 MB / 2.561 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/7.748, allocations: 56 kB / 2.561 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002337/7.749, allocations: 407.3 kB / 2.561 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/7.751, allocations: 1.454 MB / 2.563 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003354/7.754, allocations: 2.732 MB / 2.565 GB, free: 24 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/7.758, allocations: 1.927 MB / 2.567 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-05/7.758, allocations: 8 kB / 2.567 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.03732/7.796, allocations: 8.452 MB / 2.575 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.6794/8.475, allocations: 15.29 MB / 2.59 GB, free: 78.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/8.475, allocations: 31.97 kB / 2.59 GB, free: 78.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1043/8.58, allocations: 15.4 MB / 2.605 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/8.584, allocations: 0.6479 MB / 2.606 GB, free: 78.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009706/8.593, allocations: 4.714 MB / 2.611 GB, free: 76.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007603/8.601, allocations: 368.1 kB / 2.611 GB, free: 76.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/8.602, allocations: 153.2 kB / 2.611 GB, free: 76.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/8.602, allocations: 4.5 kB / 2.611 GB, free: 76.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03491/8.637, allocations: 7.941 MB / 2.619 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/8.638, allocations: 31.66 kB / 2.619 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09228/8.73, allocations: 15.33 MB / 2.634 GB, free: 76.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/8.733, allocations: 0.6379 MB / 2.635 GB, free: 76.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/8.745, allocations: 7.694 MB / 2.642 GB, free: 73.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/8.751, allocations: 351.4 kB / 2.642 GB, free: 73.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008891/8.752, allocations: 145.2 kB / 2.643 GB, free: 73.43 MB / 0.7292 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.001667/8.753, allocations: 289.6 kB / 2.643 GB, free: 73.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/8.756, allocations: 472.7 kB / 2.643 GB, free: 73.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/8.782, allocations: 6.778 MB / 2.65 GB, free: 73.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-05/8.782, allocations: 20.48 kB / 2.65 GB, free: 73.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/8.782, allocations: 0 / 2.65 GB, free: 73.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01318/8.795, allocations: 6.092 MB / 2.656 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03552/8.83, allocations: 12.54 MB / 2.668 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/8.831, allocations: 2.156 kB / 2.668 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/8.833, allocations: 375 kB / 2.668 GB, free: 70.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06328/8.896, allocations: 11.63 MB / 2.68 GB, free: 69.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006632/8.897, allocations: 44.72 kB / 2.68 GB, free: 69.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/8.904, allocations: 4.118 MB / 2.684 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/8.904, allocations: 0 / 2.684 GB, free: 68.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/8.927, allocations: 9.171 MB / 2.693 GB, free: 67.62 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005215/8.932, allocations: 1.108 MB / 2.694 GB, free: 67.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/8.935, allocations: 34.91 kB / 2.694 GB, free: 67.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005962/8.941, allocations: 292.2 kB / 2.694 GB, free: 67.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006329/8.941, allocations: 110.3 kB / 2.694 GB, free: 67.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005695/8.942, allocations: 79.72 kB / 2.694 GB, free: 67.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.009279/8.951, allocations: 3.502 MB / 2.698 GB, free: 67.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.92e-07/8.951, allocations: 0 / 2.698 GB, free: 67.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01714/8.968, allocations: 2.778 MB / 2.701 GB, free: 66.92 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.004184/8.973, allocations: 1.22 MB / 2.702 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01911/8.992, allocations: 7.251 MB / 2.709 GB, free: 66.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/8.992, allocations: 6.594 kB / 2.709 GB, free: 66.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006021/8.998, allocations: 2.426 MB / 2.711 GB, free: 66.06 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01679/9.015, allocations: 2.69 MB / 2.714 GB, free: 65.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/9.038, allocations: 7.777 MB / 2.721 GB, free: 64.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005967/9.044, allocations: 3.327 MB / 2.725 GB, free: 63.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01416/9.058, allocations: 3.046 MB / 2.728 GB, free: 63.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/9.06, allocations: 262.8 kB / 2.728 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of SimCode: time 2.144e-06/9.06, allocations: 0 / 2.728 GB, free: 63.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.2163/9.276, allocations: 122.8 MB / 2.848 GB, free: 176 kB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)