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.3221/0.3221, allocations: 54.41 MB / 61.89 MB, free: 13.76 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.001115/0.001114, allocations: 182.9 kB / 75.61 MB, free: 0.7734 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.674/1.674, allocations: 194.3 MB / 283.5 MB, free: 14.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001699/0.001699, allocations: 107 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.919e-05, allocations: 4 kB / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4014, allocations: 57.64 MB / 463.1 MB, free: 51.78 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.763/1.164, allocations: 359.1 MB / 0.803 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.165, allocations: 89.27 kB / 0.803 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.908/5.073, allocations: 0.9983 GB / 1.801 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.573e-06/5.073, allocations: 4 kB / 1.801 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008262/5.073, allocations: 147.8 kB / 1.801 GB, free: 25.08 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.01351/5.087, allocations: 4.398 MB / 1.806 GB, free: 20.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/5.087, allocations: 8.031 kB / 1.806 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/5.092, allocations: 0.8182 MB / 1.807 GB, free: 19.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01818/5.11, allocations: 7.264 MB / 1.814 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/5.111, allocations: 100 kB / 1.814 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/5.112, allocations: 197.9 kB / 1.814 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008435/5.121, allocations: 4.553 MB / 1.818 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/5.131, allocations: 4.617 MB / 1.823 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/5.131, allocations: 15.88 kB / 1.823 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009138/5.132, allocations: 12 kB / 1.823 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.211e-05/5.132, allocations: 83.95 kB / 1.823 GB, free: 2.613 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.4037/5.536, allocations: 21 MB / 1.844 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/5.54, allocations: 2.541 MB / 1.846 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/5.542, allocations: 1.641 MB / 1.848 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/5.554, allocations: 6.157 MB / 1.854 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/5.556, allocations: 1.766 MB / 1.855 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006144/5.562, allocations: 1.965 MB / 1.857 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 8.265e-06/5.562, allocations: 3.656 kB / 1.857 GB, free: 44.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.04572/5.608, allocations: 11.81 MB / 1.869 GB, free: 43.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/5.608, allocations: 225.9 kB / 1.869 GB, free: 42.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007555/5.615, allocations: 3.636 MB / 1.873 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007673/5.616, allocations: 33.73 kB / 1.873 GB, free: 42.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002442/5.619, allocations: 2.325 MB / 1.875 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/5.62, allocations: 0.5379 MB / 1.875 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/5.62, allocations: 0 / 1.875 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001724/5.62, allocations: 409.8 kB / 1.876 GB, free: 41.38 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/5.622, allocations: 1.465 MB / 1.877 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/5.625, allocations: 2.624 MB / 1.88 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/5.632, allocations: 2.482 MB / 1.882 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.859e-05/5.632, allocations: 16.52 kB / 1.882 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.04268/5.675, allocations: 9.328 MB / 1.891 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003229/5.678, allocations: 13.63 MB / 1.905 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001003/5.678, allocations: 37.44 kB / 1.905 GB, free: 25.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03312/5.711, allocations: 6.4 MB / 1.911 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/5.714, allocations: 0.6696 MB / 1.912 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/5.728, allocations: 5.942 MB / 1.917 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/5.733, allocations: 277.1 kB / 1.918 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006638/5.734, allocations: 148.3 kB / 1.918 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/5.734, allocations: 7.188 kB / 1.918 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03583/5.77, allocations: 8.144 MB / 1.926 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/5.77, allocations: 37.17 kB / 1.926 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03203/5.802, allocations: 6.097 MB / 1.932 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/5.805, allocations: 0.6704 MB / 1.932 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01296/5.818, allocations: 7.903 MB / 1.94 GB, free: 36.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/5.823, allocations: 215.5 kB / 1.94 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/5.824, allocations: 146.5 kB / 1.94 GB, free: 36.61 MB / 0.5417 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 270 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001077/5.825, allocations: 196.3 kB / 1.941 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/5.827, allocations: 417.6 kB / 1.941 GB, free: 36.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02784/5.854, allocations: 7.339 MB / 1.948 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-05/5.854, allocations: 17.36 kB / 1.948 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/5.854, allocations: 5.625 kB / 1.948 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01708/5.872, allocations: 7.119 MB / 1.955 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03231/5.904, allocations: 12.74 MB / 1.968 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/5.904, allocations: 0 / 1.968 GB, free: 33.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/5.907, allocations: 422.1 kB / 1.968 GB, free: 33.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004961/5.912, allocations: 2.718 MB / 1.971 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005012/5.912, allocations: 35 kB / 1.971 GB, free: 33.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/5.936, allocations: 10.37 MB / 1.981 GB, free: 29.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/5.936, allocations: 14.27 kB / 1.981 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/5.958, allocations: 9.467 MB / 1.99 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004059/5.962, allocations: 1.02 MB / 1.991 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002137/5.965, allocations: 3.875 kB / 1.991 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005244/5.97, allocations: 284.9 kB / 1.991 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006147/5.97, allocations: 117.9 kB / 1.991 GB, free: 27.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004975/5.971, allocations: 88.12 kB / 1.992 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006255/5.977, allocations: 2.743 MB / 1.994 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.21e-07/5.977, allocations: 0 / 1.994 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01477/5.992, allocations: 2.302 MB / 1.996 GB, free: 24.6 MB / 0.5417 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.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 118 * 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,2 4,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003402/5.995, allocations: 1.171 MB / 1.998 GB, free: 23.75 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01855/6.014, allocations: 7.447 MB / 2.005 GB, free: 17.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/6.014, allocations: 5.062 kB / 2.005 GB, free: 17.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008685/6.023, allocations: 3.183 MB / 2.008 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01396/6.037, allocations: 2.221 MB / 2.01 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/6.058, allocations: 7.904 MB / 2.018 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004422/6.062, allocations: 3.215 MB / 2.021 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01092/6.073, allocations: 2.669 MB / 2.024 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/6.075, allocations: 252.5 kB / 2.024 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of SimCode: time 8.22e-07/6.075, allocations: 0 / 2.024 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of Templates: time 0.5717/6.646, allocations: 107.1 MB / 2.128 GB, free: 54.42 MB / 0.5417 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)