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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.9 MB, free: 3.246 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8875/0.8875, allocations: 133.9 MB / 439 MB, free: 13.98 MB / 350.1 MB [Timeout remaining time 89] 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 FrontEnd - loaded program: time 0.002482/0.002482, allocations: 67.89 kB / 0.6087 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4925, allocations: 84.68 MB / 0.6914 GB, free: 2.184 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08582/0.5783, allocations: 81.15 MB / 0.7707 GB, free: 4.828 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.6092, allocations: 19.26 MB / 0.7895 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004215/0.6134, allocations: 107.4 kB / 0.7896 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003999/0.6174, allocations: 1.172 MB / 0.7907 GB, free: 236 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008795/0.6262, allocations: 2.86 MB / 0.7935 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.6326, allocations: 2.447 MB / 0.7959 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01924/0.6519, allocations: 15.55 MB / 0.8111 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0106/0.6625, allocations: 6.214 MB / 0.8171 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01702/0.6795, allocations: 6.005 MB / 0.823 GB, free: 15.04 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01115/0.6906, allocations: 5.343 MB / 0.8282 GB, free: 9.676 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002896/0.6935, allocations: 0.5391 MB / 0.8288 GB, free: 9.137 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007605/0.7011, allocations: 1.834 MB / 0.8305 GB, free: 7.301 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004019/0.7052, allocations: 1.689 MB / 0.8322 GB, free: 5.605 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.00871/0.7139, allocations: 3.301 MB / 0.8354 GB, free: 2.289 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01669/0.7306, allocations: 9.144 MB / 0.8444 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.7306, allocations: 0 / 0.8444 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7306, allocations: 0 / 0.8444 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003354/0.7309, allocations: 4 kB / 0.8444 GB, free: 9.109 MB / 0.6544 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.01806/0.749, allocations: 6.586 MB / 0.8508 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.749, allocations: 12.03 kB / 0.8508 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.754, allocations: 0.8512 MB / 0.8516 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.7673, allocations: 5.406 MB / 0.8569 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.7676, allocations: 254.5 kB / 0.8572 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.769, allocations: 344 kB / 0.8575 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.781, allocations: 5.737 MB / 0.8631 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.046e-05/0.7811, allocations: 11.88 kB / 0.8631 GB, free: 5.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005521/0.7817, allocations: 143.9 kB / 0.8632 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.7818, allocations: 114 kB / 0.8633 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.452/1.234, allocations: 5.589 MB / 0.8688 GB, free: 159.6 MB / 0.67 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.04364/1.277, allocations: 23.67 MB / 0.8919 GB, free: 143.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/1.282, allocations: 2.537 MB / 0.8944 GB, free: 142.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/1.285, allocations: 1.706 MB / 0.8961 GB, free: 141.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/1.298, allocations: 7.187 MB / 0.9031 GB, free: 136.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/1.3, allocations: 1.949 MB / 0.905 GB, free: 134.9 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005008/1.305, allocations: 1.08 MB / 0.906 GB, free: 134.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=155): time 1.359e-05/1.305, allocations: 0 / 0.906 GB, free: 134.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=155): time 0.02244/1.328, allocations: 7.878 MB / 0.9137 GB, free: 129.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.328, allocations: 76.25 kB / 0.9138 GB, free: 129.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006696/1.335, allocations: 5.013 MB / 0.9187 GB, free: 124.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006719/1.335, allocations: 65.7 kB / 0.9188 GB, free: 124.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.337, allocations: 2.497 MB / 0.9212 GB, free: 122.4 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008854/1.338, allocations: 0.5767 MB / 0.9218 GB, free: 121.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008173/1.339, allocations: 0.6688 MB / 0.9224 GB, free: 121.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.178e-05/1.339, allocations: 313.1 kB / 0.9227 GB, free: 120.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002265/1.341, allocations: 1.714 MB / 0.9244 GB, free: 119.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/1.344, allocations: 2.902 MB / 0.9272 GB, free: 115.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005175/1.349, allocations: 4.684 MB / 0.9318 GB, free: 110.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/1.349, allocations: 8 kB / 0.9318 GB, free: 110.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01041/1.359, allocations: 6.257 MB / 0.9379 GB, free: 104.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/1.359, allocations: 45.7 kB / 0.938 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/1.359, allocations: 36 kB / 0.938 GB, free: 104.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07208/1.432, allocations: 13.54 MB / 0.9512 GB, free: 90.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/1.434, allocations: 0.6474 MB / 0.9518 GB, free: 90.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/1.442, allocations: 5.492 MB / 0.9572 GB, free: 84.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/1.447, allocations: 218.5 kB / 0.9574 GB, free: 84.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005569/1.448, allocations: 187.8 kB / 0.9576 GB, free: 84.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004488/1.452, allocations: 2.964 MB / 0.9605 GB, free: 81.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002649/1.455, allocations: 2.847 MB / 0.9633 GB, free: 77.73 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004764/1.459, allocations: 4.546 MB / 0.9677 GB, free: 72.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.592e-05/1.46, allocations: 8 kB / 0.9677 GB, free: 72.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.00895/1.468, allocations: 5.946 MB / 0.9735 GB, free: 66.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/1.469, allocations: 46.67 kB / 0.9736 GB, free: 66.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.469, allocations: 32 kB / 0.9736 GB, free: 66.65 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09223/1.561, allocations: 13.32 MB / 0.9866 GB, free: 53.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003172/1.564, allocations: 0.6474 MB / 0.9872 GB, free: 52.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.575, allocations: 8.906 MB / 0.9959 GB, free: 43.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.58, allocations: 211.1 kB / 0.9961 GB, free: 43.31 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/1.581, allocations: 191.8 kB / 0.9963 GB, free: 43.12 MB / 0.67 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.001095/1.582, allocations: 369.9 kB / 0.9967 GB, free: 42.77 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.583, allocations: 492.8 kB / 0.9971 GB, free: 42.29 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007588/1.591, allocations: 4.505 MB / 1.002 GB, free: 37.79 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.591, allocations: 23.94 kB / 1.002 GB, free: 37.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.591, allocations: 0 / 1.002 GB, free: 37.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008746/1.6, allocations: 5.578 MB / 1.007 GB, free: 31.94 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02688/1.627, allocations: 10.66 MB / 1.017 GB, free: 21.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/1.627, allocations: 4.062 kB / 1.017 GB, free: 21.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/1.629, allocations: 367.5 kB / 1.018 GB, free: 20.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06492/1.694, allocations: 11.71 MB / 1.029 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005428/1.694, allocations: 47.97 kB / 1.029 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/1.7, allocations: 3.567 MB / 1.033 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.7, allocations: 0 / 1.033 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0228/1.722, allocations: 8.364 MB / 1.041 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/1.726, allocations: 0.9467 MB / 1.042 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001864/1.728, allocations: 39.94 kB / 1.042 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004246/1.732, allocations: 137.9 kB / 1.042 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000561/1.733, allocations: 105.8 kB / 1.042 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000464/1.733, allocations: 87.92 kB / 1.042 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.008511/1.742, allocations: 3.436 MB / 1.046 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/1.742, allocations: 0 / 1.046 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01364/1.756, allocations: 2.648 MB / 1.048 GB, free: 5.824 MB / 0.6856 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.002269/1.758, allocations: 0.5431 MB / 1.049 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02329/1.781, allocations: 6.98 MB / 1.055 GB, free: 14.28 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.781, allocations: 7.938 kB / 1.055 GB, free: 14.27 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.006096/1.787, allocations: 1.987 MB / 1.057 GB, free: 12.29 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01506/1.802, allocations: 2.712 MB / 1.06 GB, free: 9.707 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02431/1.827, allocations: 10.25 MB / 1.07 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/1.831, allocations: 3.221 MB / 1.073 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002027/1.833, allocations: 375.3 kB / 1.074 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of SimCode: time 1.563e-06/1.833, allocations: 0 / 1.074 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.6688/2.502, allocations: 163.8 MB / 1.234 GB, free: 254.4 MB / 0.8106 GB [Timeout remaining time 657] 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]