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.00177/0.00177, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7983/0.7983, allocations: 130.7 MB / 138.7 MB, free: 3.531 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 391.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009349, allocations: 92.45 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.19e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5067, allocations: 81.57 MB / 0.6281 GB, free: 42.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.378, allocations: 379.4 MB / 0.9986 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.379, allocations: 83.22 kB / 0.9987 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.619/7.998, allocations: 1.47 GB / 2.468 GB, free: 92.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/7.998, allocations: 0 / 2.468 GB, free: 92.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008798/7.999, allocations: 151.7 kB / 2.468 GB, free: 92.31 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.01542/8.014, allocations: 4.566 MB / 2.473 GB, free: 90.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/8.014, allocations: 11 kB / 2.473 GB, free: 90.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/8.02, allocations: 0.8025 MB / 2.474 GB, free: 90.19 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01988/8.04, allocations: 6.862 MB / 2.48 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/8.04, allocations: 112.2 kB / 2.481 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/8.042, allocations: 203.9 kB / 2.481 GB, free: 89.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008613/8.05, allocations: 4.728 MB / 2.485 GB, free: 89.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008704/8.059, allocations: 4.788 MB / 2.49 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.423e-05/8.059, allocations: 10.66 kB / 2.49 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000511/8.06, allocations: 10.81 kB / 2.49 GB, free: 88.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/8.06, allocations: 116.1 kB / 2.49 GB, free: 88.65 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.0362/8.096, allocations: 22.15 MB / 2.512 GB, free: 78.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/8.099, allocations: 2.506 MB / 2.514 GB, free: 78.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/8.102, allocations: 1.76 MB / 2.516 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/8.117, allocations: 7.021 MB / 2.523 GB, free: 76.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002359/8.119, allocations: 1.735 MB / 2.524 GB, free: 76.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007265/8.126, allocations: 1.979 MB / 2.526 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 9.969e-06/8.126, allocations: 3.281 kB / 2.526 GB, free: 76.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.01242/8.139, allocations: 4.702 MB / 2.531 GB, free: 76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/8.139, allocations: 74.62 kB / 2.531 GB, free: 75.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01107/8.15, allocations: 3.992 MB / 2.535 GB, free: 75.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/8.151, allocations: 31.8 kB / 2.535 GB, free: 75.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004522/8.156, allocations: 2.442 MB / 2.537 GB, free: 74.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/8.158, allocations: 0.5378 MB / 2.538 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007878/8.158, allocations: 2.938 kB / 2.538 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004443/8.159, allocations: 413.6 kB / 2.538 GB, free: 74.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/8.162, allocations: 1.439 MB / 2.54 GB, free: 74.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003931/8.166, allocations: 2.692 MB / 2.542 GB, free: 72.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/8.174, allocations: 2.494 MB / 2.545 GB, free: 72.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-05/8.174, allocations: 10.98 kB / 2.545 GB, free: 72.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.04168/8.216, allocations: 8.88 MB / 2.553 GB, free: 72.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005001/8.221, allocations: 15.05 MB / 2.568 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/8.221, allocations: 31.44 kB / 2.568 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03324/8.254, allocations: 6.214 MB / 2.574 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/8.258, allocations: 0.6481 MB / 2.575 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/8.27, allocations: 5.527 MB / 2.58 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008146/8.278, allocations: 302.5 kB / 2.581 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/8.279, allocations: 152.8 kB / 2.581 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/8.279, allocations: 3.844 kB / 2.581 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0386/8.318, allocations: 8.186 MB / 2.589 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/8.318, allocations: 29.75 kB / 2.589 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03349/8.352, allocations: 6.167 MB / 2.595 GB, free: 50.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/8.355, allocations: 0.638 MB / 2.595 GB, free: 49.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/8.372, allocations: 8.224 MB / 2.603 GB, free: 41.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007552/8.379, allocations: 290.1 kB / 2.604 GB, free: 41.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/8.381, allocations: 151.9 kB / 2.604 GB, free: 41.41 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.001777/8.382, allocations: 204.4 kB / 2.604 GB, free: 41.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002671/8.385, allocations: 430.7 kB / 2.604 GB, free: 40.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03141/8.416, allocations: 7.218 MB / 2.612 GB, free: 33.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-05/8.417, allocations: 16 kB / 2.612 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/8.417, allocations: 2.625 kB / 2.612 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01505/8.432, allocations: 6.577 MB / 2.618 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03267/8.464, allocations: 12.59 MB / 2.63 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/8.464, allocations: 0 / 2.63 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/8.467, allocations: 373.2 kB / 2.631 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/8.472, allocations: 2.438 MB / 2.633 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005375/8.472, allocations: 35.67 kB / 2.633 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009296/8.482, allocations: 4.799 MB / 2.638 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/8.482, allocations: 0 / 2.638 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7146/9.196, allocations: 9.584 MB / 2.647 GB, free: 97.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005202/9.202, allocations: 1.076 MB / 2.648 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002191/9.204, allocations: 3.812 kB / 2.648 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005459/9.209, allocations: 274.1 kB / 2.648 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/9.21, allocations: 106.6 kB / 2.648 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004065/9.21, allocations: 86.84 kB / 2.649 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00645/9.217, allocations: 3.014 MB / 2.652 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/9.217, allocations: 0 / 2.652 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01379/9.23, allocations: 2.702 MB / 2.654 GB, free: 96.96 MB / 0.7136 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.002999/9.233, allocations: 1.15 MB / 2.655 GB, free: 96.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01586/9.249, allocations: 7.021 MB / 2.662 GB, free: 96.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/9.249, allocations: 1.688 kB / 2.662 GB, free: 96.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006068/9.255, allocations: 2.384 MB / 2.664 GB, free: 96.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/9.271, allocations: 2.381 MB / 2.667 GB, free: 96.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/9.294, allocations: 7.588 MB / 2.674 GB, free: 94.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003805/9.298, allocations: 3.327 MB / 2.677 GB, free: 94.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01287/9.311, allocations: 2.828 MB / 2.68 GB, free: 94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/9.313, allocations: 254.6 kB / 2.68 GB, free: 94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.765e-06/9.313, allocations: 0 / 2.68 GB, free: 94 MB / 0.7136 GB Notification: Performance of Templates: time 0.18/9.493, allocations: 104.1 MB / 2.782 GB, free: 87.95 MB / 0.7136 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)