Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Annex60.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3284/0.3284, allocations: 55.01 MB / 69.96 MB, free: 8.672 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001154/0.001154, allocations: 190.6 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.106/2.106, allocations: 194.4 MB / 292.3 MB, free: 3.621 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001924/0.001924, allocations: 110.6 kB / 350.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004972, allocations: 23.98 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 57.64 MB / 476.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.432, allocations: 359.8 MB / 0.8167 GB, free: 69.09 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.433, allocations: 92.45 kB / 0.8168 GB, free: 69.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.981/5.414, allocations: 1.008 GB / 1.824 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/5.414, allocations: 0 / 1.824 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009363/5.415, allocations: 144.9 kB / 1.825 GB, free: 53.5 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 793 * Number of variables: 793 Notification: Performance of Generate backend data structure: time 0.01922/5.434, allocations: 5.633 MB / 1.83 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/5.434, allocations: 8.031 kB / 1.83 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/5.44, allocations: 0.8231 MB / 1.831 GB, free: 47.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/5.461, allocations: 7.299 MB / 1.838 GB, free: 41.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/5.461, allocations: 254.2 kB / 1.838 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/5.462, allocations: 329.7 kB / 1.839 GB, free: 40.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/5.475, allocations: 5.573 MB / 1.844 GB, free: 34.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/5.475, allocations: 11.88 kB / 1.844 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005537/5.475, allocations: 136 kB / 1.844 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/5.475, allocations: 84 kB / 1.844 GB, free: 34.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/5.488, allocations: 5.319 MB / 1.849 GB, free: 29.38 MB / 0.5261 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.03725/5.526, allocations: 21.64 MB / 1.871 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007014/5.533, allocations: 3.074 MB / 1.874 GB, free: 3.832 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4403/5.973, allocations: 6.288 MB / 1.88 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007331/5.98, allocations: 2.293 MB / 1.882 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007975/5.988, allocations: 2.027 MB / 1.884 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 1.361e-05/5.988, allocations: 0 / 1.884 GB, free: 55.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.02934/6.018, allocations: 8.242 MB / 1.892 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/6.018, allocations: 226 kB / 1.892 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/6.028, allocations: 4.24 MB / 1.896 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009298/6.029, allocations: 71.95 kB / 1.896 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/6.032, allocations: 2.32 MB / 1.899 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/6.033, allocations: 0.5516 MB / 1.899 GB, free: 54.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/6.033, allocations: 55.25 kB / 1.899 GB, free: 54.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001646/6.033, allocations: 413.7 kB / 1.9 GB, free: 53.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00308/6.036, allocations: 1.634 MB / 1.901 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/6.04, allocations: 2.832 MB / 1.904 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/6.044, allocations: 2.057 MB / 1.906 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/6.044, allocations: 5.406 kB / 1.906 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.0152/6.059, allocations: 6.089 MB / 1.912 GB, free: 51.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003466/6.063, allocations: 13.86 MB / 1.925 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/6.063, allocations: 33.55 kB / 1.925 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07036/6.133, allocations: 11.75 MB / 1.937 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/6.137, allocations: 0.6927 MB / 1.938 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/6.148, allocations: 5.602 MB / 1.943 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/6.154, allocations: 336 kB / 1.943 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007007/6.155, allocations: 148.2 kB / 1.944 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/6.155, allocations: 5.875 kB / 1.944 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007972/6.163, allocations: 4.942 MB / 1.948 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.848e-05/6.163, allocations: 29.72 kB / 1.948 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06589/6.229, allocations: 11.34 MB / 1.96 GB, free: 33.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/6.233, allocations: 0.6776 MB / 1.96 GB, free: 33.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/6.243, allocations: 7.784 MB / 1.968 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006535/6.25, allocations: 272.6 kB / 1.968 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/6.251, allocations: 146.3 kB / 1.968 GB, free: 29.66 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0001004433569776996 * pump.vol.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (279): * Single equations (assignments): 271 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {11 13,1 3,1 1,10 11} Notification: Performance of prepare postOptimizeDAE: time 0.004987/6.256, allocations: 1.499 MB / 1.97 GB, free: 29.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001745/6.258, allocations: 450.2 kB / 1.97 GB, free: 29.24 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/6.271, allocations: 5.634 MB / 1.976 GB, free: 28.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.974e-05/6.271, allocations: 19.58 kB / 1.976 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/6.271, allocations: 0 / 1.976 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01521/6.287, allocations: 6.837 MB / 1.982 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0387/6.325, allocations: 13.63 MB / 1.996 GB, free: 26.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/6.326, allocations: 0 / 1.996 GB, free: 26.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/6.328, allocations: 448.4 kB / 1.996 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06859/6.397, allocations: 11.94 MB / 2.008 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007111/6.398, allocations: 48.28 kB / 2.008 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/6.42, allocations: 9.997 MB / 2.017 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.42, allocations: 0 / 2.017 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03058/6.45, allocations: 10.46 MB / 2.028 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005402/6.456, allocations: 1.063 MB / 2.029 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002809/6.459, allocations: 29.62 kB / 2.029 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005921/6.464, allocations: 303.2 kB / 2.029 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008291/6.465, allocations: 116.7 kB / 2.029 GB, free: 18.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006762/6.466, allocations: 84.81 kB / 2.029 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008595/6.475, allocations: 3.29 MB / 2.032 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.01e-07/6.475, allocations: 0 / 2.032 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.017/6.492, allocations: 2.679 MB / 2.035 GB, free: 14.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pump.vol.dynBal.U,pump.vol.dynBal.m,hea.heaCoo.T,val.filter.x[1],val.filter.x[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 (132): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 3,10 11,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003646/6.495, allocations: 1.226 MB / 2.036 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02122/6.517, allocations: 7.64 MB / 2.044 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/6.517, allocations: 9.188 kB / 2.044 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008784/6.526, allocations: 3.106 MB / 2.047 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/6.54, allocations: 2.542 MB / 2.049 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03192/6.572, allocations: 11.36 MB / 2.06 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005752/6.578, allocations: 3.204 MB / 2.063 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008894/6.587, allocations: 1.706 MB / 2.065 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/6.588, allocations: 345.8 kB / 2.065 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/6.588, allocations: 0 / 2.065 GB, free: 4.453 MB / 0.5417 GB Notification: Performance of Templates: time 0.6223/7.211, allocations: 115.1 MB / 2.178 GB, free: 72.8 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)