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.00163/0.00163, allocations: 103.5 kB / 16.41 MB, free: 6.469 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.001855/0.001854, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8801/0.8801, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 60.97 kB / 0.5862 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1721, allocations: 80.92 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08131/0.2534, allocations: 80.55 MB / 0.7439 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4426/0.6961, allocations: 19.2 MB / 0.7627 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004824/0.7009, allocations: 103.5 kB / 0.7628 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004106/0.7051, allocations: 1.16 MB / 0.7639 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.7156, allocations: 2.776 MB / 0.7666 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00823/0.7239, allocations: 2.413 MB / 0.769 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02092/0.7448, allocations: 15.51 MB / 0.7841 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.7556, allocations: 7.219 MB / 0.7912 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01365/0.7693, allocations: 5.975 MB / 0.797 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009178/0.7785, allocations: 5.05 MB / 0.8019 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002443/0.781, allocations: 0.5373 MB / 0.8025 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007471/0.7884, allocations: 1.808 MB / 0.8042 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003161/0.7916, allocations: 1.619 MB / 0.8058 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00762/0.7993, allocations: 3.291 MB / 0.809 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.8134, allocations: 9.077 MB / 0.8179 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.8134, allocations: 0 / 0.8179 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8134, allocations: 3.938 kB / 0.8179 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003321/0.8138, allocations: 0 / 0.8179 GB, free: 5.902 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.01848/0.8323, allocations: 6.485 MB / 0.8242 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8323, allocations: 9.109 kB / 0.8242 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/0.8373, allocations: 0.8244 MB / 0.825 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.8511, allocations: 5.353 MB / 0.8303 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/0.8515, allocations: 262.5 kB / 0.8305 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.8531, allocations: 336 kB / 0.8308 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.8674, allocations: 5.705 MB / 0.8364 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.8675, allocations: 7.938 kB / 0.8364 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001276/0.8688, allocations: 140 kB / 0.8366 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.869, allocations: 121.9 kB / 0.8367 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.8809, allocations: 5.522 MB / 0.8421 GB, free: 12.92 MB / 0.6231 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.04309/0.924, allocations: 23.67 MB / 0.8652 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/0.9296, allocations: 2.752 MB / 0.8679 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00332/0.933, allocations: 1.894 MB / 0.8697 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01728/0.9503, allocations: 7.097 MB / 0.8766 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003717/0.9541, allocations: 1.922 MB / 0.8785 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00405/0.9582, allocations: 0.6961 MB / 0.8792 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=155): time 1.484e-05/0.9582, allocations: 0 / 0.8792 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of matching and sorting (n=155): time 0.02755/0.9858, allocations: 7.933 MB / 0.887 GB, free: 13.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.9859, allocations: 72.66 kB / 0.887 GB, free: 13.81 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.9967, allocations: 5.007 MB / 0.8919 GB, free: 8.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007534/0.9975, allocations: 65.7 kB / 0.892 GB, free: 8.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003114/1.001, allocations: 2.457 MB / 0.8944 GB, free: 6.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.002, allocations: 0.5469 MB / 0.8949 GB, free: 5.738 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002331/1.004, allocations: 0.6646 MB / 0.8956 GB, free: 5.066 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.004, allocations: 305.1 kB / 0.8958 GB, free: 4.766 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.008, allocations: 1.718 MB / 0.8975 GB, free: 3.039 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004313/1.012, allocations: 2.908 MB / 0.9004 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/1.02, allocations: 4.672 MB / 0.9049 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/1.02, allocations: 12 kB / 0.9049 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.01424/1.034, allocations: 6.304 MB / 0.9111 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/1.034, allocations: 49.69 kB / 0.9111 GB, free: 4.059 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.264e-05/1.034, allocations: 36.16 kB / 0.9112 GB, free: 4.023 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07967/1.114, allocations: 13.54 MB / 0.9244 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.117, allocations: 0.6396 MB / 0.925 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.128, allocations: 5.481 MB / 0.9304 GB, free: 364 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005052/1.133, allocations: 220.4 kB / 0.9306 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008009/1.134, allocations: 192 kB / 0.9308 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006294/1.14, allocations: 2.964 MB / 0.9337 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004245/1.144, allocations: 2.851 MB / 0.9364 GB, free: 9.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007076/1.151, allocations: 4.539 MB / 0.9409 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.871e-05/1.151, allocations: 11.94 kB / 0.9409 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=336) (initialization_lambda0): time 0.01256/1.164, allocations: 5.998 MB / 0.9467 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.255e-05/1.164, allocations: 45.7 kB / 0.9468 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.059e-05/1.164, allocations: 40 kB / 0.9468 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08039/1.245, allocations: 13.31 MB / 0.9598 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003319/1.248, allocations: 0.6396 MB / 0.9604 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/1.264, allocations: 8.901 MB / 0.9691 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/1.27, allocations: 224.9 kB / 0.9694 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008804/1.27, allocations: 187.8 kB / 0.9695 GB, free: 6.906 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.001485/1.272, allocations: 369.8 kB / 0.9699 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/1.274, allocations: 466.4 kB / 0.9703 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.284, allocations: 4.565 MB / 0.9748 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.284, allocations: 19.94 kB / 0.9748 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.284, allocations: 3.938 kB / 0.9748 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01148/1.296, allocations: 5.634 MB / 0.9803 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03278/1.329, allocations: 10.72 MB / 0.9908 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.329, allocations: 3.938 kB / 0.9908 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/1.331, allocations: 367.6 kB / 0.9911 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07015/1.401, allocations: 11.71 MB / 1.003 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006013/1.402, allocations: 47.95 kB / 1.003 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006926/1.409, allocations: 3.56 MB / 1.006 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.409, allocations: 4 kB / 1.006 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02595/1.435, allocations: 8.405 MB / 1.014 GB, free: 8.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003482/1.438, allocations: 0.9208 MB / 1.015 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/1.44, allocations: 39.92 kB / 1.015 GB, free: 7.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00435/1.445, allocations: 131.9 kB / 1.015 GB, free: 7.562 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005941/1.445, allocations: 117.8 kB / 1.015 GB, free: 7.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005045/1.446, allocations: 87.86 kB / 1.016 GB, free: 7.363 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.007724/1.453, allocations: 3.44 MB / 1.019 GB, free: 3.941 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/1.453, allocations: 0 / 1.019 GB, free: 3.941 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01121/1.465, allocations: 2.635 MB / 1.021 GB, free: 1.301 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.002081/1.467, allocations: 0.5234 MB / 1.022 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0215/1.488, allocations: 7.403 MB / 1.029 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.488, allocations: 12.12 kB / 1.029 GB, free: 9.352 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.007314/1.496, allocations: 2.287 MB / 1.031 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01632/1.512, allocations: 2.709 MB / 1.034 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/1.535, allocations: 10.05 MB / 1.044 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004347/1.54, allocations: 3.221 MB / 1.047 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/1.542, allocations: 375.2 kB / 1.047 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of SimCode: time 1.322e-06/1.542, allocations: 0 / 1.047 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.597/2.139, allocations: 164 MB / 1.208 GB, free: 180.2 MB / 0.8262 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)