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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005917/0.005917, allocations: 104.2 kB / 15.73 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 192.2 kB / 16.67 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8824/0.8824, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.55 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1772, allocations: 80.22 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08714/0.2644, allocations: 80.54 MB / 0.7383 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4823/0.7467, allocations: 19.22 MB / 0.7571 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.752, allocations: 104.1 kB / 0.7572 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.7564, allocations: 1.154 MB / 0.7583 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.7667, allocations: 2.776 MB / 0.761 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008296/0.775, allocations: 2.407 MB / 0.7634 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02185/0.7969, allocations: 15.51 MB / 0.7785 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.8087, allocations: 7.217 MB / 0.7856 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01652/0.8252, allocations: 5.865 MB / 0.7913 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.8363, allocations: 5.055 MB / 0.7962 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0033/0.8396, allocations: 0.5395 MB / 0.7968 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.85, allocations: 1.802 MB / 0.7985 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.005267/0.8553, allocations: 1.618 MB / 0.8001 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01238/0.8677, allocations: 3.284 MB / 0.8033 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.019/0.8868, allocations: 9.121 MB / 0.8122 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.8868, allocations: 0 / 0.8122 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8868, allocations: 0 / 0.8122 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003583/0.8872, allocations: 0 / 0.8122 GB, free: 9.664 MB / 0.5919 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.01866/0.9059, allocations: 6.66 MB / 0.8187 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.9059, allocations: 12.03 kB / 0.8187 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.9105, allocations: 0.8473 MB / 0.8196 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01286/0.9234, allocations: 5.398 MB / 0.8248 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.9237, allocations: 254.5 kB / 0.8251 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.9251, allocations: 344 kB / 0.8254 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.9402, allocations: 5.706 MB / 0.831 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.9404, allocations: 11.88 kB / 0.831 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008762/0.9413, allocations: 144 kB / 0.8311 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/0.9415, allocations: 117.8 kB / 0.8312 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.9544, allocations: 5.522 MB / 0.8366 GB, free: 472 kB / 0.6075 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.0467/1.001, allocations: 23.71 MB / 0.8598 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006112/1.007, allocations: 2.746 MB / 0.8625 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003592/1.011, allocations: 1.901 MB / 0.8643 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01721/1.028, allocations: 7.093 MB / 0.8712 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004135/1.032, allocations: 1.913 MB / 0.8731 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004162/1.037, allocations: 0.7204 MB / 0.8738 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 1.519e-05/1.037, allocations: 0 / 0.8738 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.0287/1.065, allocations: 7.958 MB / 0.8816 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/1.065, allocations: 72.72 kB / 0.8817 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/1.077, allocations: 5.013 MB / 0.8865 GB, free: 12.28 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009598/1.078, allocations: 65.7 kB / 0.8866 GB, free: 12.21 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003841/1.082, allocations: 2.498 MB / 0.889 GB, free: 9.703 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.084, allocations: 0.5763 MB / 0.8896 GB, free: 9.133 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002765/1.087, allocations: 0.6679 MB / 0.8903 GB, free: 8.461 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.087, allocations: 313 kB / 0.8906 GB, free: 8.152 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003684/1.091, allocations: 1.714 MB / 0.8922 GB, free: 6.43 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004992/1.096, allocations: 2.909 MB / 0.8951 GB, free: 2.969 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008485/1.104, allocations: 4.672 MB / 0.8996 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.327e-05/1.104, allocations: 8 kB / 0.8996 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01541/1.12, allocations: 6.329 MB / 0.9058 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/1.12, allocations: 45.7 kB / 0.9059 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.716e-05/1.12, allocations: 32 kB / 0.9059 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08066/1.201, allocations: 13.54 MB / 0.9191 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/1.204, allocations: 0.6512 MB / 0.9198 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.216, allocations: 5.477 MB / 0.9251 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006158/1.222, allocations: 224.5 kB / 0.9253 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/1.223, allocations: 191.8 kB / 0.9255 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007442/1.231, allocations: 2.964 MB / 0.9284 GB, free: 352 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005042/1.236, allocations: 2.844 MB / 0.9312 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008379/1.244, allocations: 4.538 MB / 0.9356 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.714e-05/1.244, allocations: 12 kB / 0.9356 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01435/1.259, allocations: 6.016 MB / 0.9415 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/1.259, allocations: 49.69 kB / 0.9415 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.496e-05/1.259, allocations: 32 kB / 0.9416 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07864/1.337, allocations: 13.3 MB / 0.9546 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/1.341, allocations: 0.6434 MB / 0.9552 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/1.357, allocations: 8.915 MB / 0.9639 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005375/1.362, allocations: 230.6 kB / 0.9641 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008269/1.363, allocations: 187.8 kB / 0.9643 GB, free: 10.28 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (283): * Single equations (assignments): 278 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001434/1.364, allocations: 367.4 kB / 0.9647 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/1.367, allocations: 492.8 kB / 0.9651 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009503/1.376, allocations: 4.564 MB / 0.9696 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.376, allocations: 23.92 kB / 0.9696 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.376, allocations: 0 / 0.9696 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01124/1.387, allocations: 5.623 MB / 0.9751 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0309/1.418, allocations: 10.73 MB / 0.9856 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/1.418, allocations: 0 / 0.9856 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.421, allocations: 367.6 kB / 0.9859 GB, free: 3.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06995/1.491, allocations: 11.71 MB / 0.9974 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000559/1.491, allocations: 47.97 kB / 0.9974 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006879/1.498, allocations: 3.55 MB / 1.001 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.498, allocations: 0 / 1.001 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/1.524, allocations: 8.426 MB / 1.009 GB, free: 12.02 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003504/1.528, allocations: 0.9624 MB / 1.01 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001909/1.53, allocations: 35.88 kB / 1.01 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004145/1.534, allocations: 135.8 kB / 1.01 GB, free: 10.87 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000544/1.535, allocations: 109.8 kB / 1.01 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004577/1.535, allocations: 83.92 kB / 1.01 GB, free: 10.68 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.009756/1.545, allocations: 3.44 MB / 1.014 GB, free: 7.262 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.012e-06/1.545, allocations: 0 / 1.014 GB, free: 7.262 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01404/1.559, allocations: 2.648 MB / 1.016 GB, free: 4.609 MB / 0.795 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(11,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/1.561, allocations: 0.5285 MB / 1.017 GB, free: 4.117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02149/1.583, allocations: 7.405 MB / 1.024 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.583, allocations: 4 kB / 1.024 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.006802/1.59, allocations: 2.306 MB / 1.026 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01748/1.607, allocations: 2.709 MB / 1.029 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/1.633, allocations: 10.12 MB / 1.039 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007043/1.64, allocations: 3.245 MB / 1.042 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.008057/1.648, allocations: 1.646 MB / 1.044 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001773/1.65, allocations: 355.2 kB / 1.044 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of SimCode: time 1.372e-06/1.65, allocations: 0 / 1.044 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of Templates: time 0.6056/2.255, allocations: 111.6 MB / 1.153 GB, free: 240 MB / 0.8262 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.makefile [Timeout 660] (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) [Timeout 480]