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.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002078/0.002079, allocations: 191 kB / 16.25 MB, free: 6.637 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9656/0.9656, allocations: 135.1 MB / 425.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 68.75 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1937, allocations: 80.93 MB / 0.5839 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.3726/0.5663, allocations: 79.81 MB / 0.6618 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02774/0.5941, allocations: 19.09 MB / 0.6804 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004209/0.5983, allocations: 97.94 kB / 0.6805 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.6025, allocations: 1.016 MB / 0.6815 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009277/0.6118, allocations: 2.583 MB / 0.6841 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00726/0.6191, allocations: 2.207 MB / 0.6862 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02212/0.6412, allocations: 15.59 MB / 0.7014 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01097/0.6522, allocations: 7.162 MB / 0.7084 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01879/0.671, allocations: 5.934 MB / 0.7142 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.6814, allocations: 5.213 MB / 0.7193 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.002094/0.6835, allocations: 0.5391 MB / 0.7198 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00771/0.6912, allocations: 1.795 MB / 0.7216 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002601/0.6939, allocations: 1.62 MB / 0.7232 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007387/0.7013, allocations: 3.297 MB / 0.7264 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.7139, allocations: 8.978 MB / 0.7352 GB, free: 2.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.714, allocations: 0 / 0.7352 GB, free: 2.395 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.047e-06/0.714, allocations: 3.984 kB / 0.7352 GB, free: 2.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002677/0.7143, allocations: 0 / 0.7352 GB, free: 2.391 MB / 0.545 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.01398/0.7282, allocations: 6.477 MB / 0.7415 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.7283, allocations: 12.03 kB / 0.7415 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/0.7319, allocations: 0.825 MB / 0.7423 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01014/0.7421, allocations: 5.268 MB / 0.7475 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.7424, allocations: 263 kB / 0.7477 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000905/0.7433, allocations: 339.9 kB / 0.748 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.7542, allocations: 5.697 MB / 0.7536 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.7543, allocations: 11.88 kB / 0.7536 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008741/0.7552, allocations: 144 kB / 0.7537 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.7554, allocations: 118 kB / 0.7539 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/0.7668, allocations: 5.53 MB / 0.7593 GB, free: 9.289 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.04266/0.8095, allocations: 23.76 MB / 0.7825 GB, free: 420 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/0.8148, allocations: 2.757 MB / 0.7851 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/0.8178, allocations: 1.889 MB / 0.787 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.8312, allocations: 7.042 MB / 0.7939 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003532/0.8348, allocations: 1.925 MB / 0.7957 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005805/0.8406, allocations: 1.036 MB / 0.7968 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=156): time 1.32e-05/0.8406, allocations: 0 / 0.7968 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=156): time 0.0271/0.8677, allocations: 8.05 MB / 0.8046 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.8679, allocations: 72.7 kB / 0.8047 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/0.8798, allocations: 4.89 MB / 0.8095 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000834/0.8807, allocations: 65.69 kB / 0.8095 GB, free: 4.266 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.003107/0.8838, allocations: 2.46 MB / 0.8119 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001294/0.8851, allocations: 0.5509 MB / 0.8125 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002084/0.8873, allocations: 0.6646 MB / 0.8131 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.8874, allocations: 309.1 kB / 0.8134 GB, free: 252 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/0.8906, allocations: 1.722 MB / 0.8151 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/0.8947, allocations: 2.909 MB / 0.8179 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007288/0.902, allocations: 4.691 MB / 0.8225 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-05/0.902, allocations: 11.94 kB / 0.8225 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01834/0.9204, allocations: 6.984 MB / 0.8293 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.9205, allocations: 41.7 kB / 0.8294 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/0.9205, allocations: 36.09 kB / 0.8294 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08039/1.001, allocations: 13.66 MB / 0.8428 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/1.004, allocations: 0.6435 MB / 0.8434 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.015, allocations: 5.543 MB / 0.8488 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/1.021, allocations: 327.7 kB / 0.8491 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008284/1.021, allocations: 195.8 kB / 0.8493 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005922/1.027, allocations: 2.964 MB / 0.8522 GB, free: 7.355 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003995/1.031, allocations: 2.843 MB / 0.855 GB, free: 3.961 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3803/1.412, allocations: 4.556 MB / 0.8594 GB, free: 204.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.892e-05/1.412, allocations: 9.406 kB / 0.8594 GB, free: 204.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01532/1.427, allocations: 6.673 MB / 0.8659 GB, free: 204.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/1.427, allocations: 50.06 kB / 0.866 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.427, allocations: 33.28 kB / 0.866 GB, free: 204.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07276/1.5, allocations: 13.41 MB / 0.8791 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/1.503, allocations: 0.6388 MB / 0.8798 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/1.517, allocations: 8.968 MB / 0.8885 GB, free: 197.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005403/1.522, allocations: 336.2 kB / 0.8888 GB, free: 197.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008649/1.523, allocations: 187.7 kB / 0.889 GB, free: 197.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (282): * Single equations (assignments): 277 * 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 {(12,15), (10,11), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009892/1.524, allocations: 368.4 kB / 0.8894 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/1.526, allocations: 464.9 kB / 0.8898 GB, free: 197.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009621/1.535, allocations: 4.604 MB / 0.8943 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.536, allocations: 27.67 kB / 0.8943 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.536, allocations: 4 kB / 0.8943 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007707/1.543, allocations: 5.193 MB / 0.8994 GB, free: 192.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/1.574, allocations: 11.06 MB / 0.9102 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.574, allocations: 6.25 kB / 0.9102 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/1.576, allocations: 368.4 kB / 0.9106 GB, free: 188.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06988/1.646, allocations: 11.79 MB / 0.9221 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000691/1.647, allocations: 46.52 kB / 0.9221 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005405/1.652, allocations: 3.54 MB / 0.9256 GB, free: 183.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.652, allocations: 11.97 kB / 0.9256 GB, free: 183.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.664, allocations: 7.399 MB / 0.9328 GB, free: 179 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.667, allocations: 0.9198 MB / 0.9337 GB, free: 178.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.668, allocations: 31.88 kB / 0.9337 GB, free: 178.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/1.672, allocations: 258.8 kB / 0.934 GB, free: 178.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003573/1.672, allocations: 114.2 kB / 0.9341 GB, free: 178.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.672, allocations: 88.05 kB / 0.9342 GB, free: 178.2 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004871/1.677, allocations: 3.351 MB / 0.9375 GB, free: 175.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.8e-07/1.677, allocations: 0 / 0.9375 GB, free: 175.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.009647/1.687, allocations: 2.653 MB / 0.94 GB, free: 173.1 MB / 0.67 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 (137): * Single equations (assignments): 128 * 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 {(12,5), (2,5), (10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/1.689, allocations: 0.5154 MB / 0.9406 GB, free: 172.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01978/1.708, allocations: 8.515 MB / 0.9489 GB, free: 164.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.708, allocations: 5.812 kB / 0.9489 GB, free: 164.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005431/1.714, allocations: 2.296 MB / 0.9511 GB, free: 161.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/1.727, allocations: 2.722 MB / 0.9538 GB, free: 159.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.741, allocations: 11.81 MB / 0.9653 GB, free: 147.4 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/1.743, allocations: 3.241 MB / 0.9685 GB, free: 144.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005932/1.749, allocations: 1.665 MB / 0.9701 GB, free: 142.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.751, allocations: 355.2 kB / 0.9704 GB, free: 142.1 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/1.751, allocations: 0 / 0.9704 GB, free: 142.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1333/1.884, allocations: 114.1 MB / 1.082 GB, free: 29 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)