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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00131/0.00131, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8379/0.8379, allocations: 135.1 MB / 426.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 0.506 GB, free: 8.438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3493, allocations: 80.9 MB / 0.585 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.06904/0.4184, allocations: 80.54 MB / 0.6637 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0296/0.4481, allocations: 19.22 MB / 0.6824 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004967/0.4531, allocations: 107.4 kB / 0.6825 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.4569, allocations: 1.149 MB / 0.6836 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008811/0.4658, allocations: 2.781 MB / 0.6864 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.4724, allocations: 2.397 MB / 0.6887 GB, free: 180 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01831/0.4908, allocations: 15.48 MB / 0.7038 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01141/0.5022, allocations: 7.229 MB / 0.7109 GB, free: 9.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/0.5155, allocations: 5.831 MB / 0.7166 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009215/0.5248, allocations: 5.062 MB / 0.7215 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002759/0.5276, allocations: 0.5391 MB / 0.722 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/0.5348, allocations: 1.799 MB / 0.7238 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003525/0.5384, allocations: 1.616 MB / 0.7254 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007769/0.5462, allocations: 3.294 MB / 0.7286 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.5594, allocations: 8.959 MB / 0.7373 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5595, allocations: 0 / 0.7373 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.777e-06/0.5595, allocations: 0 / 0.7373 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000322/0.5598, allocations: 3.938 kB / 0.7373 GB, free: 14.18 MB / 0.5762 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.0184/0.5782, allocations: 6.482 MB / 0.7437 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.749e-05/0.5783, allocations: 13.11 kB / 0.7437 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005463/0.5838, allocations: 0.8168 MB / 0.7445 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.5965, allocations: 5.087 MB / 0.7495 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.5969, allocations: 263.1 kB / 0.7497 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001462/0.5984, allocations: 340 kB / 0.75 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2924/0.8909, allocations: 5.701 MB / 0.7556 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.013e-05/0.891, allocations: 12.88 kB / 0.7556 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.8915, allocations: 145 kB / 0.7557 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.8917, allocations: 114.6 kB / 0.7559 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.9034, allocations: 5.522 MB / 0.7612 GB, free: 148.2 MB / 0.5762 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.03272/0.9362, allocations: 23.81 MB / 0.7845 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/0.9404, allocations: 2.741 MB / 0.7872 GB, free: 126.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.9428, allocations: 1.894 MB / 0.789 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.9533, allocations: 7.093 MB / 0.7959 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002614/0.956, allocations: 1.912 MB / 0.7978 GB, free: 115.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00328/0.9593, allocations: 0.7086 MB / 0.7985 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=155): time 8.586e-06/0.9593, allocations: 0 / 0.7985 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155): time 0.0237/0.983, allocations: 7.917 MB / 0.8062 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.9831, allocations: 72.72 kB / 0.8063 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007207/0.9903, allocations: 5.007 MB / 0.8112 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0006727/0.991, allocations: 65.7 kB / 0.8113 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.9928, allocations: 2.466 MB / 0.8137 GB, free: 99.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009009/0.9937, allocations: 0.5576 MB / 0.8142 GB, free: 98.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008995/0.9946, allocations: 0.6632 MB / 0.8149 GB, free: 97.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.9947, allocations: 301.1 kB / 0.8151 GB, free: 97.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002388/0.9971, allocations: 1.718 MB / 0.8168 GB, free: 95.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.9998, allocations: 2.915 MB / 0.8197 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005372/1.005, allocations: 4.672 MB / 0.8242 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/1.005, allocations: 8 kB / 0.8242 GB, free: 87.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01037/1.016, allocations: 6.313 MB / 0.8304 GB, free: 80.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/1.016, allocations: 49.69 kB / 0.8305 GB, free: 80.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.016, allocations: 35.98 kB / 0.8305 GB, free: 80.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0779/1.094, allocations: 13.53 MB / 0.8437 GB, free: 67.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/1.096, allocations: 0.6551 MB / 0.8443 GB, free: 66.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008612/1.105, allocations: 5.484 MB / 0.8497 GB, free: 61.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/1.11, allocations: 216.4 kB / 0.8499 GB, free: 60.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005979/1.11, allocations: 199.8 kB / 0.8501 GB, free: 60.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004595/1.115, allocations: 2.96 MB / 0.853 GB, free: 57.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002708/1.118, allocations: 2.84 MB / 0.8558 GB, free: 54.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004931/1.123, allocations: 4.546 MB / 0.8602 GB, free: 49.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.065e-05/1.123, allocations: 12 kB / 0.8602 GB, free: 49.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.009273/1.132, allocations: 5.987 MB / 0.8661 GB, free: 43.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.372e-05/1.132, allocations: 57.62 kB / 0.8661 GB, free: 43.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/1.132, allocations: 32 kB / 0.8661 GB, free: 43.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07422/1.206, allocations: 13.3 MB / 0.8791 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/1.209, allocations: 0.6396 MB / 0.8798 GB, free: 29.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/1.22, allocations: 8.912 MB / 0.8885 GB, free: 20.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004488/1.225, allocations: 217.4 kB / 0.8887 GB, free: 19.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006044/1.226, allocations: 191.8 kB / 0.8889 GB, free: 19.66 MB / 0.5762 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.0009418/1.227, allocations: 375.3 kB / 0.8892 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.228, allocations: 466.3 kB / 0.8897 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007947/1.236, allocations: 4.575 MB / 0.8941 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/1.236, allocations: 16 kB / 0.8941 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.236, allocations: 0 / 0.8941 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00987/1.246, allocations: 5.625 MB / 0.8996 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02707/1.273, allocations: 10.72 MB / 0.9101 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/1.273, allocations: 0 / 0.9101 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.276, allocations: 371.6 kB / 0.9105 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07518/1.351, allocations: 11.71 MB / 0.9219 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004766/1.351, allocations: 47.97 kB / 0.9219 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/1.358, allocations: 3.563 MB / 0.9254 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.359, allocations: 112 / 0.9254 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/1.385, allocations: 8.407 MB / 0.9336 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/1.388, allocations: 0.9286 MB / 0.9345 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.389, allocations: 32 kB / 0.9346 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003846/1.393, allocations: 139.7 kB / 0.9347 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005145/1.394, allocations: 109.8 kB / 0.9348 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000392/1.394, allocations: 87.92 kB / 0.9349 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007028/1.401, allocations: 3.436 MB / 0.9382 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/1.401, allocations: 0 / 0.9382 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01035/1.412, allocations: 2.634 MB / 0.9408 GB, free: 14.02 MB / 0.6231 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.001812/1.413, allocations: 0.5275 MB / 0.9413 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02288/1.436, allocations: 8.421 MB / 0.9495 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.436, allocations: 4.062 kB / 0.9496 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00679/1.443, allocations: 2.302 MB / 0.9518 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01418/1.457, allocations: 2.723 MB / 0.9545 GB, free: 188 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02004/1.477, allocations: 10.16 MB / 0.9644 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/1.481, allocations: 3.221 MB / 0.9675 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001665/1.483, allocations: 375.2 kB / 0.9679 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of SimCode: time 9.51e-07/1.483, allocations: 0 / 0.9679 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of Templates: time 0.4672/1.95, allocations: 162.8 MB / 1.127 GB, free: 117.1 MB / 0.67 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)